Mail Archives: cygwin-developers/1998/02/12/10:00:11
In article <199802120012 DOT QAA00464 AT rtl DOT cygnus DOT com>,
Geoffrey Noer <cygwin32-developers AT cygnus DOT com> wrote:
>Hello,
>
>Some people have complained about the fact that getgrnam does not
>return NULL when there is an /etc/group that doesn't contain the right
>group ID.
>
>The patch that follows adds the default group line into the
>group file in memory when /etc/group isn't found. getgrnam will then
>return NULL if the group file in memory doesn't contain the requested
>group.
>
>Will this cause problems I'm not thinking of? I don't think so but...
It looks right to me. Are there similar issues with getpwnam?
--
http://www.bbc.com/ cgf AT bbc DOT com "Strange how unreal
VMS=>UNIX Solutions Boston Business Computing the real can be."
- Raw text -