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 | |
parent | 882c2eed97630695c5e1acd2fd237cb5fa01fe26 (diff) |
- (djm) Cygwin needs pw->pw_gecos copied too. Patch from Corinna Vinschen
<vinschen@redhat.com>
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | auth.c | 3 |
2 files changed, 6 insertions, 1 deletions
@@ -3,6 +3,8 @@ | |||
3 | - (djm) Force standard PAM conversation function in a few more places. | 3 | - (djm) Force standard PAM conversation function in a few more places. |
4 | Patch from Redhat 2.5.1p1-2 RPM, probably Nalin Dahyabhai | 4 | Patch from Redhat 2.5.1p1-2 RPM, probably Nalin Dahyabhai |
5 | <nalin@redhat.com> | 5 | <nalin@redhat.com> |
6 | - (djm) Cygwin needs pw->pw_gecos copied too. Patch from Corinna Vinschen | ||
7 | <vinschen@redhat.com> | ||
6 | 8 | ||
7 | 20010228 | 9 | 20010228 |
8 | - (djm) Detect endianness in configure and use it in rijndael.c. Fixes | 10 | - (djm) Detect endianness in configure and use it in rijndael.c. Fixes |
@@ -4172,4 +4174,4 @@ | |||
4172 | - Wrote replacements for strlcpy and mkdtemp | 4174 | - Wrote replacements for strlcpy and mkdtemp |
4173 | - Released 1.0pre1 | 4175 | - Released 1.0pre1 |
4174 | 4176 | ||
4175 | $Id: ChangeLog,v 1.843 2001/02/28 22:18:57 djm Exp $ | 4177 | $Id: ChangeLog,v 1.844 2001/02/28 22:48:13 djm Exp $ |
@@ -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; |