diff options
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) | |||
182 | #ifdef HAVE_PW_CLASS_IN_PASSWD | 182 | #ifdef HAVE_PW_CLASS_IN_PASSWD |
183 | copy->pw_class = xstrdup(pw->pw_class); | 183 | copy->pw_class = xstrdup(pw->pw_class); |
184 | #endif | 184 | #endif |
185 | #ifdef HAVE_CYGWIN | ||
186 | copy->pw_gecos = xstrdup(pw->pw_gecos); | ||
187 | #endif | ||
185 | copy->pw_dir = xstrdup(pw->pw_dir); | 188 | copy->pw_dir = xstrdup(pw->pw_dir); |
186 | copy->pw_shell = xstrdup(pw->pw_shell); | 189 | copy->pw_shell = xstrdup(pw->pw_shell); |
187 | return copy; | 190 | return copy; |