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

Alexander Gattin xrgtn-guest at costa.debian.org
Sun Jan 15 09:15:21 UTC 2006


Author: xrgtn-guest
Date: 2006-01-15 09:15:20 +0000 (Sun, 15 Jan 2006)
New Revision: 798

Modified:
   trunk/debian/patches/484_su-p_preserve_PATH
Log:
poor little semicolon was lost (here you see danger of constant Python programming)

Modified: trunk/debian/patches/484_su-p_preserve_PATH
===================================================================
--- trunk/debian/patches/484_su-p_preserve_PATH	2006-01-15 00:51:47 UTC (rev 797)
+++ trunk/debian/patches/484_su-p_preserve_PATH	2006-01-15 09:15:20 UTC (rev 798)
@@ -15,8 +15,8 @@
 
 Index: shadow-4.0.14/src/su.c
 ===================================================================
---- shadow-4.0.14.orig/src/su.c	2006-01-15 01:30:46.000000000 +0200
-+++ shadow-4.0.14/src/su.c	2006-01-15 01:30:46.000000000 +0200
+--- shadow-4.0.14.orig/src/su.c	2006-01-15 10:54:02.000000000 +0200
++++ shadow-4.0.14/src/su.c	2006-01-15 10:54:02.000000000 +0200
 @@ -174,7 +174,8 @@
   * have been applied.  Some work was needed to get it integrated into
   * su.c from shadow.
@@ -80,7 +80,7 @@
 Index: shadow-4.0.14/lib/prototypes.h
 ===================================================================
 --- shadow-4.0.14.orig/lib/prototypes.h	2006-01-03 01:51:44.000000000 +0200
-+++ shadow-4.0.14/lib/prototypes.h	2006-01-15 01:37:15.000000000 +0200
++++ shadow-4.0.14/lib/prototypes.h	2006-01-15 10:54:02.000000000 +0200
 @@ -150,6 +150,7 @@
  
  /* shell.c */
@@ -92,7 +92,7 @@
 Index: shadow-4.0.14/libmisc/shell.c
 ===================================================================
 --- shadow-4.0.14.orig/libmisc/shell.c	2005-08-31 20:24:58.000000000 +0300
-+++ shadow-4.0.14/libmisc/shell.c	2006-01-15 01:40:45.000000000 +0200
++++ shadow-4.0.14/libmisc/shell.c	2006-01-15 11:12:00.000000000 +0200
 @@ -38,8 +38,15 @@
  extern char **newenvp;
  extern size_t newenvc;
@@ -123,7 +123,7 @@
 -	if (file == (char *) 0)
 -		exit (1);
 +	if (file == (char *) 0) {
-+		errno = EINVAL
++		errno = EINVAL;
 +		return errno;
 +	}
  




More information about the Pkg-shadow-commits mailing list