i think it's time. otherwise we'll never find the bugs.

Index: gen/getpwent.c
===================================================================
RCS file: /cvs/src/lib/libc/gen/getpwent.c,v
retrieving revision 1.60
diff -u -p -r1.60 getpwent.c
--- gen/getpwent.c      28 Dec 2015 22:08:18 -0000      1.60
+++ gen/getpwent.c      28 Apr 2016 16:05:45 -0000
@@ -743,8 +743,7 @@ int
 getpwnam_r(const char *name, struct passwd *pw, char *buf, size_t buflen,
     struct passwd **pwretp)
 {
-       /* XXX shadow should be 0 XXX */
-       return getpwnam_internal(name, pw, buf, buflen, pwretp, 1);
+       return getpwnam_internal(name, pw, buf, buflen, pwretp, 0);
 }
 DEF_WEAK(getpwnam_r);
 
@@ -828,8 +827,7 @@ int
 getpwuid_r(uid_t uid, struct passwd *pw, char *buf, size_t buflen,
     struct passwd **pwretp)
 {
-       /* XXX shadow should be 0 XXX */
-       return getpwuid_internal(uid, pw, buf, buflen, pwretp, 1);
+       return getpwuid_internal(uid, pw, buf, buflen, pwretp, 0);
 }
 DEF_WEAK(getpwuid_r);
 

Reply via email to