packages: util-linux-ng/util-linux-login-lastlog.patch - updated for ng-2.17.2
qboosh
qboosh at pld-linux.org
Sun May 9 11:43:17 CEST 2010
Author: qboosh Date: Sun May 9 09:43:17 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- updated for ng-2.17.2
---- Files affected:
packages/util-linux-ng:
util-linux-login-lastlog.patch (1.1 -> 1.2)
---- Diffs:
================================================================
Index: packages/util-linux-ng/util-linux-login-lastlog.patch
diff -u packages/util-linux-ng/util-linux-login-lastlog.patch:1.1 packages/util-linux-ng/util-linux-login-lastlog.patch:1.2
--- packages/util-linux-ng/util-linux-login-lastlog.patch:1.1 Sun May 9 10:44:59 2010
+++ packages/util-linux-ng/util-linux-login-lastlog.patch Sun May 9 11:43:12 2010
@@ -1,9 +1,9 @@
---- util-linux-2.12p/login-utils/login.c.login-lastlog 2005-03-24 13:26:06.516865128 +0100
-+++ util-linux-2.12p/login-utils/login.c 2005-03-24 13:26:58.136017824 +0100
-@@ -1397,7 +1397,7 @@
+--- util-linux-ng-2.17.2/login-utils/login.c.orig 2010-03-18 23:11:23.000000000 +0100
++++ util-linux-ng-2.17.2/login-utils/login.c 2010-05-09 11:42:42.890935908 +0200
+@@ -1431,7 +1431,7 @@
struct lastlog ll;
int fd;
-
+
- if ((fd = open(_PATH_LASTLOG, O_RDWR, 0)) >= 0) {
+ if ((fd = open(_PATH_LASTLOG, O_RDWR|O_CREAT, 0)) >= 0) {
lseek(fd, (off_t)pwd->pw_uid * sizeof(ll), SEEK_SET);
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/util-linux-ng/util-linux-login-lastlog.patch?r1=1.1&r2=1.2&f=u
More information about the pld-cvs-commit
mailing list