diff options
author | Ben Lindstrom <mouring@eviladmin.org> | 2001-03-05 07:57:09 +0000 |
---|---|---|
committer | Ben Lindstrom <mouring@eviladmin.org> | 2001-03-05 07:57:09 +0000 |
commit | 0f68db4e9e3a6c41504904079448770d13700a51 (patch) | |
tree | ecd27605c0abe8ce1fe608b06f1e4b0e302d7d10 /misc.c | |
parent | 9727181114e080810ab12bf5d964b6c738cd94d7 (diff) |
- (bal) Put HAVE_PW_CLASS_IN_PASSWD back into pwcopy()
Diffstat (limited to 'misc.c')
-rw-r--r-- | misc.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -108,7 +108,9 @@ pwcopy(struct passwd *pw) copy->pw_gecos = xstrdup(pw->pw_gecos); copy->pw_uid = pw->pw_uid; copy->pw_gid = pw->pw_gid; +#ifdef HAVE_PW_CLASS_IN_PASSWD copy->pw_class = xstrdup(pw->pw_class); +#endif copy->pw_dir = xstrdup(pw->pw_dir); copy->pw_shell = xstrdup(pw->pw_shell); return copy; |