In message <19755.933088...@axl.noc.iafrica.com> Sheldon Hearn writes:
: +#ifdef SUPPORT_DOT
: +                /* Older configurations used '.' between user and group */
: +                if ((group = strchr(q, ':')) != NULL ||
: +                    (group = strchr(q, '.')) != NULL) {
: +#else
:                  if ((group = strchr(q, ':')) != NULL) {
: +#endif
:                      *group++ = '\0';

A better patch would check to see if the text to the right of the '.'
is a valid group...  However, the above will still parse

        fred.jones:fred.jones

in the most desirable way, so I suppose the validity checking is
overkill.

Warner


To Unsubscribe: send mail to majord...@freebsd.org
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to