* libmisc/chkname.c: Remove outdated comments.
This commit is contained in:
parent
9d977dba8e
commit
6405b58a98
@ -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>
|
||||
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user