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

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


Author: xrgtn-guest
Date: 2006-01-15 09:39:44 +0000 (Sun, 15 Jan 2006)
New Revision: 799

Modified:
   trunk/debian/patches/484_su-p_preserve_PATH
Log:
eliminate warning -- passing (char *) as (const char *) parameter is legal

Modified: trunk/debian/patches/484_su-p_preserve_PATH
===================================================================
--- trunk/debian/patches/484_su-p_preserve_PATH	2006-01-15 09:15:20 UTC (rev 798)
+++ trunk/debian/patches/484_su-p_preserve_PATH	2006-01-15 09:39:44 UTC (rev 799)
@@ -15,8 +15,8 @@
 
 Index: shadow-4.0.14/src/su.c
 ===================================================================
---- 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
+--- shadow-4.0.14.orig/src/su.c	2006-01-15 11:14:14.000000000 +0200
++++ shadow-4.0.14/src/su.c	2006-01-15 11:14:14.000000000 +0200
 @@ -174,7 +174,8 @@
   * have been applied.  Some work was needed to get it integrated into
   * su.c from shadow.
@@ -79,8 +79,8 @@
  	exit (1);
 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 10:54:02.000000000 +0200
+--- shadow-4.0.14.orig/lib/prototypes.h	2006-01-15 11:13:45.000000000 +0200
++++ shadow-4.0.14/lib/prototypes.h	2006-01-15 11:14:14.000000000 +0200
 @@ -150,6 +150,7 @@
  
  /* shell.c */
@@ -91,8 +91,8 @@
  extern long strtoday (const char *);
 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 11:12:00.000000000 +0200
+--- shadow-4.0.14.orig/libmisc/shell.c	2006-01-15 11:13:45.000000000 +0200
++++ shadow-4.0.14/libmisc/shell.c	2006-01-15 11:16:47.000000000 +0200
 @@ -38,8 +38,15 @@
  extern char **newenvp;
  extern size_t newenvc;
@@ -100,7 +100,7 @@
 +/* shell - left here for compatibility (actually being frontend to shelle) */
 +void shell (const char *file, const char *arg) {
 +	int err;
-+	err = shelle (file, arg, newenvp);
++	err = shelle (file, arg, (const char *)newenvp);
 +	if (err) exit (1);
 +}
 +




More information about the Pkg-shadow-commits mailing list