]> andersk Git - openssh.git/commitdiff
- markus@cvs.openbsd.org 2001/06/16 08:58:34
authormouring <mouring>
Thu, 21 Jun 2001 03:11:27 +0000 (03:11 +0000)
committermouring <mouring>
Thu, 21 Jun 2001 03:11:27 +0000 (03:11 +0000)
     [misc.c]
     copy pw_expire and pw_change, too.

ChangeLog
misc.c

index 8c955346493b773bb6da2c61183a99bf6489c47f..6f0e38efeef1397447f766e465ffe701dce5dbeb 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -9,6 +9,9 @@
    - markus@cvs.openbsd.org 2001/06/16 08:57:35
      [scp.c]
      no stdio or exit() in signal handlers.
+   - markus@cvs.openbsd.org 2001/06/16 08:58:34
+     [misc.c]
+     copy pw_expire and pw_change, too.
 
 20010615
  - (stevesk) don't set SA_RESTART and set SIGCHLD to SIG_DFL
diff --git a/misc.c b/misc.c
index aa9d775f40d61c71b118739440c3cc79fa64bf0f..283e17ec267dddc828f8def08683ac8303d26e73 100644 (file)
--- a/misc.c
+++ b/misc.c
@@ -1,4 +1,4 @@
-/*     $OpenBSD: misc.c,v 1.10 2001/06/16 08:49:38 markus Exp $        */
+/*     $OpenBSD: misc.c,v 1.11 2001/06/16 08:58:34 markus Exp $        */
 
 /*
  * Copyright (c) 2000 Markus Friedl.  All rights reserved.
@@ -25,7 +25,7 @@
  */
 
 #include "includes.h"
-RCSID("$OpenBSD: misc.c,v 1.10 2001/06/16 08:49:38 markus Exp $");
+RCSID("$OpenBSD: misc.c,v 1.11 2001/06/16 08:58:34 markus Exp $");
 
 #include "misc.h"
 #include "log.h"
@@ -131,6 +131,8 @@ pwcopy(struct passwd *pw)
        copy->pw_gecos = xstrdup(pw->pw_gecos);
        copy->pw_uid = pw->pw_uid;
        copy->pw_gid = pw->pw_gid;
+       copy->pw_expire = pw->pw_expire;
+       copy->pw_change = pw->pw_change;
 #ifdef HAVE_PW_CLASS_IN_PASSWD
        copy->pw_class = xstrdup(pw->pw_class);
 #endif
This page took 0.047889 seconds and 5 git commands to generate.