Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Jul 2018 17:26:38 +0000 (UTC)
From:      Ian Lepore <ian@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r336642 - head/lib/libc/gen
Message-ID:  <201807231726.w6NHQcLR013553@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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])



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201807231726.w6NHQcLR013553>