Date: Tue, 27 Jul 1999 21:40:34 -0600 From: Warner Losh <imp@village.org> To: Sheldon Hearn <sheldonh@uunet.co.za> Cc: Tim Vanderhoek <vanderh@ecf.utoronto.ca>, obrien@FreeBSD.ORG, hackers@FreeBSD.ORG Subject: Re: newsyslog owner.group -> owner:group Message-ID: <199907280340.VAA68413@harmony.village.org> In-Reply-To: Your message of "Tue, 27 Jul 1999 17:11:49 %2B0200." <19755.933088309@axl.noc.iafrica.com> References: <19755.933088309@axl.noc.iafrica.com>
next in thread | previous in thread | raw e-mail | index | archive | help
In message <19755.933088309@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 majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199907280340.VAA68413>