[Pkg-shadow-commits] r2470 - in upstream/trunk: . libmisc
nekral-guest at alioth.debian.org
nekral-guest at alioth.debian.org
Mon Dec 22 22:08:14 UTC 2008
Author: nekral-guest
Date: 2008-12-22 22:08:13 +0000 (Mon, 22 Dec 2008)
New Revision: 2470
Modified:
upstream/trunk/ChangeLog
upstream/trunk/libmisc/chkname.c
Log:
* libmisc/chkname.c: Remove outdated comments.
Modified: upstream/trunk/ChangeLog
===================================================================
--- upstream/trunk/ChangeLog 2008-12-22 22:07:12 UTC (rev 2469)
+++ upstream/trunk/ChangeLog 2008-12-22 22:08:13 UTC (rev 2470)
@@ -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 at centraliens.net>
Modified: upstream/trunk/libmisc/chkname.c
===================================================================
--- upstream/trunk/libmisc/chkname.c 2008-12-22 22:07:12 UTC (rev 2469)
+++ upstream/trunk/libmisc/chkname.c 2008-12-22 22:08:13 UTC (rev 2470)
@@ -85,7 +85,7 @@
/*
* 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_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;
More information about the Pkg-shadow-commits
mailing list