Revert r336619, it appears to cause problems with ssh, and probably other
things which use pw_scan().
This commit is contained in:
parent
dc8240f0da
commit
c798532ffa
@ -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])
|
||||
|
Loading…
x
Reference in New Issue
Block a user