This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/9962] For non-existing groups, getgrnam_r() return the last group configured in the system


------- Additional Comments From drepper at redhat dot com  2009-03-20 18:24 -------
You are using the interface wrong.  The function only returns a nonzero value if
there has been a problem in the execution.  A failure to find an entry to return
does not qualify.  This condition is indicated by the pointer, pointed to by the
last parameter, being NULL.  This is correctly implemented.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID


http://sourceware.org/bugzilla/show_bug.cgi?id=9962

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]