[Pkg-shadow-commits] r1163 - in trunk/debian: . patches

Christian Perrier bubulle at alioth.debian.org
Sun Apr 15 12:16:09 UTC 2007


Author: bubulle
Date: 2007-04-15 12:16:08 +0000 (Sun, 15 Apr 2007)
New Revision: 1163

Added:
   trunk/debian/patches/406_vipw_resume_properly
Modified:
   trunk/debian/changelog
   trunk/debian/patches/series
Log:
Resume properly after ^Z. Closes: #414542


Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog	2007-04-15 11:57:33 UTC (rev 1162)
+++ trunk/debian/changelog	2007-04-15 12:16:08 UTC (rev 1163)
@@ -13,6 +13,8 @@
     - 466_fflush-prompt: Fix compilation error.
       One call to yes_or_no was forgotten because it was in
       commented code (which is now enabled).
+    - 406_vipw_resume_properly: Resume correctly after ^Z
+      Thanks to Dean Gaudet for the patch and report. Closes: #414542
   * Upstream bugs fixed in upstream releases or CVS:
     - 497_non_numerical_identifier moved as 397_non_numerical_identifier
       because upstream applied it

Added: trunk/debian/patches/406_vipw_resume_properly
===================================================================
--- trunk/debian/patches/406_vipw_resume_properly	2007-04-15 11:57:33 UTC (rev 1162)
+++ trunk/debian/patches/406_vipw_resume_properly	2007-04-15 12:16:08 UTC (rev 1163)
@@ -0,0 +1,21 @@
+Goal: Resume properly after ^Z
+
+Fix: #414542
+
+Author: dean gaudet <dean at arctic.org>
+
+Status wrt upstream: should be forwarded
+
+Index: shadow-4.0.18.1/src/vipw.c
+===================================================================
+--- shadow-4.0.18.1.orig/src/vipw.c	2007-04-15 14:10:37.522147236 +0200
++++ shadow-4.0.18.1/src/vipw.c	2007-04-15 14:11:09.146401712 +0200
+@@ -208,7 +208,7 @@
+ 		pid = waitpid (pid, &status, WUNTRACED);
+ 		if (WIFSTOPPED (status)) {
+ 			kill (getpid (), SIGSTOP);
+-			kill (getpid (), SIGCONT);
++			kill (pid, SIGCONT);
+ 		} else
+ 			break;
+ 	}

Modified: trunk/debian/patches/series
===================================================================
--- trunk/debian/patches/series	2007-04-15 11:57:33 UTC (rev 1162)
+++ trunk/debian/patches/series	2007-04-15 12:16:08 UTC (rev 1163)
@@ -50,3 +50,4 @@
 200_regenerate_manpages
 493_pwck_no_SHADOWPWD
 505_useradd_recommend_adduser
+406_vipw_resume_properly




More information about the Pkg-shadow-commits mailing list