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

Christian Perrier bubulle at alioth.debian.org
Thu Dec 7 18:53:26 CET 2006


Author: bubulle
Date: 2006-12-07 18:53:25 +0100 (Thu, 07 Dec 2006)
New Revision: 1147

Modified:
   trunk/debian/changelog
   trunk/debian/patches/403_fix_PATH-MAX_hurd
Log:
FIc also in trunk


Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog	2006-12-07 17:52:10 UTC (rev 1146)
+++ trunk/debian/changelog	2006-12-07 17:53:25 UTC (rev 1147)
@@ -26,6 +26,9 @@
     in the etch branch (we don't want regressions):
     - 493_pwck_no_SHADOWPWD: SHADOWPWD no more exist.
       pwck do not detect missing users in /etc/shadow.
+    - 403_fix_PATH-MAX_hurd: fixed glibc error on Hurd by not freeing f
+      unconditionnally. Thanks to Michael banck for the patch fix
+      Closes: #402002
   * Upstream bugs fixed in upstream releases or CVS:
     - 497_non_numerical_identifier moved as 397_non_numerical_identifier
       because upstream applied it

Modified: trunk/debian/patches/403_fix_PATH-MAX_hurd
===================================================================
--- trunk/debian/patches/403_fix_PATH-MAX_hurd	2006-12-07 17:52:10 UTC (rev 1146)
+++ trunk/debian/patches/403_fix_PATH-MAX_hurd	2006-12-07 17:53:25 UTC (rev 1147)
@@ -8,9 +8,9 @@
 
 Index: shadow-4.0.18.1/lib/commonio.c
 ===================================================================
---- shadow-4.0.18.1.orig/lib/commonio.c	2006-09-17 12:18:03.020077360 +0200
-+++ shadow-4.0.18.1/lib/commonio.c	2006-09-17 12:18:12.680154166 +0200
-@@ -47,20 +47,34 @@
+--- shadow-4.0.18.1/lib/commonio.c.orig	2006-12-07 06:57:01.000000000 +0000
++++ shadow-4.0.18.1/lib/commonio.c	2006-12-07 06:57:40.000000000 +0000
+@@ -46,17 +47,31 @@
  int lrename (const char *old, const char *new)
  {
  
@@ -38,12 +38,9 @@
 -			new = resolved_path;
 +			new = r;
  		}
- 	}
- #endif
- 	res = rename (old, new);
 +#ifndef PATH_MAX
 +	free (r);
 +#endif
- 	return res;
- }
- 
+ 	}
+ #endif
+ 	res = rename (old, new);




More information about the Pkg-shadow-commits mailing list