I've built a testcase for looking at this. When I run it, I get: ./a.out No match found! Errno: 0 Can you please provide a better testcase? Otherwise, I'll assume the bug is fixed and close it (By the end of January or so) -- In the United States, there isn't a government database that hasn't been misused by the very people entrusted with keeping its information safe. - Bruce Schneier
#include <stdio.h> #include <pwd.h> #include <sys/types.h> #include <errno.h> int main () { struct passwd*foo = getpwnam("FOOBARBAZ"); if (foo == NULL) { printf("No match found! Errno: %d\n", errno); } return (0); }
Attachment:
signature.asc
Description: This is a digitally signed message part