[Pkg-shadow-commits] r681 - trunk/debian/patches

Christian Perrier bubulle at costa.debian.org
Sat Dec 3 06:53:57 UTC 2005


Author: bubulle
Date: 2005-12-03 06:53:56 +0000 (Sat, 03 Dec 2005)
New Revision: 681

Added:
   trunk/debian/patches/327_chage_expiry_0
Removed:
   trunk/debian/patches/427_chage_expiry_0
Log:
Move fixed patch to 3xx series

Copied: trunk/debian/patches/327_chage_expiry_0 (from rev 680, trunk/debian/patches/427_chage_expiry_0)

Deleted: trunk/debian/patches/427_chage_expiry_0
===================================================================
--- trunk/debian/patches/427_chage_expiry_0	2005-12-03 06:53:36 UTC (rev 680)
+++ trunk/debian/patches/427_chage_expiry_0	2005-12-03 06:53:56 UTC (rev 681)
@@ -1,21 +0,0 @@
-Goal: Fix chage display when the last change field is set to 0.
-      This is consistent with PAM.
-
-Status wrt upstream: Fixed in 4.0.14
-
-Index: shadow-cvs/src/chage.c
-===================================================================
---- shadow-cvs.orig/src/chage.c	2005-10-06 02:48:24.000000000 +0300
-+++ shadow-cvs/src/chage.c	2005-10-06 02:48:44.000000000 +0300
-@@ -234,8 +234,10 @@
- 	 * was last modified. The date is the number of days since 1/1/1970.
- 	 */
- 	printf (_("Last password change\t\t\t\t\t: "));
--	if (lastday <= 0) {
-+	if (lastday < 0) {
- 		printf (_("never\n"));
-+	} else if (lastday == 0) {
-+		printf (_("password must be changed"));
- 	} else {
- 		changed = lastday * SCALE;
- 		print_date (changed);




More information about the Pkg-shadow-commits mailing list