]> granicus.if.org Git - shadow/commitdiff
* libmisc/chkname.c: Remove outdated comments.
authornekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Mon, 22 Dec 2008 22:08:13 +0000 (22:08 +0000)
committernekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Mon, 22 Dec 2008 22:08:13 +0000 (22:08 +0000)
ChangeLog
libmisc/chkname.c

index 9bb6df98bb80a91f8b803f1a5e31855a18f918ca..4afdc7c72587fa4bb8492d953e2741933785dca0 100644 (file)
--- 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  <nicolas.francois@centraliens.net>
 
index 1ae6a3d76df38b20ce21555328e02df6aaf44d17..5e400966dd028b23b0ee472671d955bf6ebedc9c 100644 (file)
@@ -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;