diff options
author | Damien Miller <djm@mindrot.org> | 2001-03-01 09:48:13 +1100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2001-03-01 09:48:13 +1100 |
commit | b5b62185371a8a2b1108dc87305f9c168fcaec39 (patch) | |
tree | 9f9298402d93907d7d6bb8747f5d5d171440ac7b /auth.c | |
parent | 882c2eed97630695c5e1acd2fd237cb5fa01fe26 (diff) |
- (djm) Cygwin needs pw->pw_gecos copied too. Patch from Corinna Vinschen
<vinschen@redhat.com>
Diffstat (limited to 'auth.c')
-rw-r--r-- | auth.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -182,6 +182,9 @@ pwcopy(struct passwd *pw) #ifdef HAVE_PW_CLASS_IN_PASSWD copy->pw_class = xstrdup(pw->pw_class); #endif +#ifdef HAVE_CYGWIN + copy->pw_gecos = xstrdup(pw->pw_gecos); +#endif copy->pw_dir = xstrdup(pw->pw_dir); copy->pw_shell = xstrdup(pw->pw_shell); return copy; |