Author: ian
Date: Mon Jul 23 17:26:38 2018
New Revision: 336642
URL: https://svnweb.freebsd.org/changeset/base/336642

Log:
  Revert r336619, it appears to cause problems with ssh, and probably other
  things which use pw_scan().

Modified:
  head/lib/libc/gen/pw_scan.c

Modified: head/lib/libc/gen/pw_scan.c
==============================================================================
--- head/lib/libc/gen/pw_scan.c Mon Jul 23 16:56:49 2018        (r336641)
+++ head/lib/libc/gen/pw_scan.c Mon Jul 23 17:26:38 2018        (r336642)
@@ -170,8 +170,7 @@ __pw_scan(char *bp, struct passwd *pw, int flags)
                if (p[0])
                        pw->pw_fields |= _PWF_EXPIRE;
                pw->pw_expire = atol(p);
-       } else
-               pw->pw_class = NULL;
+       }
        if (!(pw->pw_gecos = strsep(&bp, ":")))         /* gecos */
                goto fmt;
        if (pw->pw_gecos[0])
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to