diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-03-23 03:54:08 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-03-23 03:54:08 +0000 |
commit | 6967e938e75c1bb2dafcf51a05f9ecbfdeacb936 (patch) | |
tree | 6a52db5aa6bc00b46e91f00d37593210f9b020ab /sys-apps | |
parent | Allow users to build lvm2 dynamically by setting the local use flag nolvmstatic (diff) | |
download | gentoo-2-6967e938e75c1bb2dafcf51a05f9ecbfdeacb936.tar.gz gentoo-2-6967e938e75c1bb2dafcf51a05f9ecbfdeacb936.tar.bz2 gentoo-2-6967e938e75c1bb2dafcf51a05f9ecbfdeacb936.zip |
fix patch #86334
(Portage version: 2.0.51.19)
Diffstat (limited to 'sys-apps')
-rw-r--r-- | sys-apps/shadow/files/shadow-4.0.7-lastlog.patch | 39 |
1 files changed, 15 insertions, 24 deletions
diff --git a/sys-apps/shadow/files/shadow-4.0.7-lastlog.patch b/sys-apps/shadow/files/shadow-4.0.7-lastlog.patch index 95533fb1a87d..04dc491c027b 100644 --- a/sys-apps/shadow/files/shadow-4.0.7-lastlog.patch +++ b/sys-apps/shadow/files/shadow-4.0.7-lastlog.patch @@ -1,24 +1,15 @@ -===================================================================
-RCS file: /cvsroot/shadow/libmisc/log.c,v
-retrieving revision 1.7
-retrieving revision 1.8
-diff -u -r1.7 -r1.8
---- shadow/libmisc/log.c 2003/12/17 12:52:25 1.7
-+++ shadow/libmisc/log.c 2005/03/09 04:55:31 1.8
-@@ -30,7 +30,7 @@
- #include <config.h>
-
- #include "rcsid.h"
--RCSID ("$Id: shadow-4.0.7-lastlog.patch,v 1.1 2005/03/22 15:17:47 azarah Exp $")
-+RCSID ("$Id: shadow-4.0.7-lastlog.patch,v 1.1 2005/03/22 15:17:47 azarah Exp $")
- #include <sys/types.h>
- #include <pwd.h>
- #include <fcntl.h>
-@@ -89,6 +89,7 @@
-
- ll_time = newlog.ll_time;
- time (&ll_time);
-+ newlog.ll_time = ll_time;
- strncpy (newlog.ll_line, line, sizeof newlog.ll_line);
- #if HAVE_LL_HOST
- strncpy (newlog.ll_host, host, sizeof newlog.ll_host);
\ No newline at end of file +=================================================================== +RCS file: /cvsroot/shadow/libmisc/log.c,v +retrieving revision 1.7 +retrieving revision 1.8 +diff -u -r1.7 -r1.8 +--- shadow/libmisc/log.c ++++ shadow/libmisc/log.c +@@ -89,6 +89,7 @@ + + ll_time = newlog.ll_time; + time (&ll_time); ++ newlog.ll_time = ll_time; + strncpy (newlog.ll_line, line, sizeof newlog.ll_line); + #if HAVE_LL_HOST + strncpy (newlog.ll_host, host, sizeof newlog.ll_host); |