diff --git a/ChangeLog b/ChangeLog index 9bb6df98..4afdc7c7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -3,6 +3,7 @@ * src/groupadd.c, src/groupdel.c, src/groupmod.c: Re-indent. * src/groupmod.c: Do not add the command synopsis to the main () documentation. This avoids outdated information. + * libmisc/chkname.c: Remove outdated comments. 2008-12-22 Nicolas François diff --git a/libmisc/chkname.c b/libmisc/chkname.c index 1ae6a3d7..5e400966 100644 --- a/libmisc/chkname.c +++ b/libmisc/chkname.c @@ -85,7 +85,7 @@ bool is_valid_user_name (const char *name) /* * User names are limited by whatever utmp can - * handle (usually max 8 characters). + * handle. */ if (strlen (name) > sizeof (ut.ut_user)) { return false; @@ -97,8 +97,8 @@ bool is_valid_user_name (const char *name) bool is_valid_group_name (const char *name) { /* - * Arbitrary limit for group names - max 16 - * characters (same as on HP-UX 10). + * Arbitrary limit for group names. + * HP-UX 10 limits to 16 characters */ if (GROUP_NAME_MAX_LENGTH && strlen (name) > GROUP_NAME_MAX_LENGTH) return false;