+2009-04-22 Nicolas François <nicolas.francois@centraliens.net>
+
+ * lib/get_gid.c: gidstr should not be NULL, but the check was
+ meant to make sure it is not empty.
+ * lib/get_uid.c: Likewise.
+
+2009-04-22 Nicolas François <nicolas.francois@centraliens.net>
+
+ * lib/getdef.c: Added splint annotations.
+ * lib/getdef.c: Ignore fputs() return value.
+ * lib/getdef.c: Use EXIT_FAILURE / EXIT_SUCCESS for exit()
+
2009-04-22 Nicolas François <nicolas.francois@centraliens.net>
* src/faillog.c: Added splint annotations.
errno = 0;
val = strtoll (gidstr, &endptr, 10);
- if ( ('\0' == gidstr)
+ if ( ('\0' == *gidstr)
|| ('\0' != *endptr)
|| (ERANGE == errno)
|| (val != (gid_t)val)) {
errno = 0;
val = strtoll (uidstr, &endptr, 10);
- if ( ('\0' == uidstr)
+ if ( ('\0' == *uidstr)
|| ('\0' != *endptr)
|| (ERANGE == errno)
|| (val != (uid_t)val)) {