clashes with the valid() function.
+2008-08-29 Nicolas François <nicolas.francois@centraliens.net>
+
+ * src/gpasswd.c: Replace the 'valid' variable by is_valid to avoid
+ clashes with the valid() function.
+
2008-08-29 Nicolas François <nicolas.francois@centraliens.net>
* libmisc/obscure.c: Add brackets and parenthesis.
{
const char *start, *end;
char username[32];
- bool valid = true;
+ bool is_valid = true;
size_t len;
for (start = users; (NULL != start) && ('\0' != *start); start = end) {
if (getpwnam (username) == NULL) {
fprintf (stderr, _("%s: user '%s' does not exist\n"),
Prog, username);
- valid = false;
+ is_valid = false;
}
}
- return valid;
+ return is_valid;
}
static void failure (void)