svn commit: r336642 - head/lib/libc/gen

Ian Lepore ian at FreeBSD.org
Mon Jul 23 17:26:39 UTC 2018


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])


More information about the svn-src-head mailing list