[Pkg-shadow-commits] r3233 - in upstream/trunk: . src

Nicolas FRANÇOIS nekral-guest at alioth.debian.org
Sun Aug 22 19:36:15 UTC 2010


Author: nekral-guest
Date: 2010-08-22 19:36:09 +0000 (Sun, 22 Aug 2010)
New Revision: 3233

Modified:
   upstream/trunk/ChangeLog
   upstream/trunk/src/chage.c
   upstream/trunk/src/chfn.c
   upstream/trunk/src/chgpasswd.c
   upstream/trunk/src/chpasswd.c
   upstream/trunk/src/chsh.c
   upstream/trunk/src/expiry.c
   upstream/trunk/src/gpasswd.c
   upstream/trunk/src/groupadd.c
   upstream/trunk/src/groupdel.c
   upstream/trunk/src/groupmems.c
   upstream/trunk/src/groupmod.c
   upstream/trunk/src/groups.c
   upstream/trunk/src/grpck.c
   upstream/trunk/src/grpconv.c
   upstream/trunk/src/grpunconv.c
   upstream/trunk/src/login.c
   upstream/trunk/src/logoutd.c
   upstream/trunk/src/newgrp.c
   upstream/trunk/src/newusers.c
   upstream/trunk/src/passwd.c
   upstream/trunk/src/pwck.c
   upstream/trunk/src/pwconv.c
   upstream/trunk/src/pwunconv.c
   upstream/trunk/src/su.c
   upstream/trunk/src/useradd.c
   upstream/trunk/src/userdel.c
   upstream/trunk/src/usermod.c
Log:
	* src/newgrp.c, src/userdel.c, src/grpck.c, src/gpasswd.c,
	src/newusers.c, src/pwconv.c, src/chpasswd.c, src/logoutd.c,
	src/chfn.c, src/groupmems.c, src/usermod.c, src/pwunconv.c,
	src/expiry.c, src/groupdel.c, src/chgpasswd.c, src/useradd.c,
	src/su.c, src/groupmod.c, src/passwd.c, src/pwck.c, src/chage.c,
	src/groupadd.c, src/login.c, src/grpconv.c, src/groups.c,
	src/grpunconv.c, src/chsh.c: Prog changed to a constant string.


Modified: upstream/trunk/ChangeLog
===================================================================
--- upstream/trunk/ChangeLog	2010-08-22 19:13:53 UTC (rev 3232)
+++ upstream/trunk/ChangeLog	2010-08-22 19:36:09 UTC (rev 3233)
@@ -1,5 +1,15 @@
 2010-08-22  Nicolas François  <nicolas.francois at centraliens.net>
 
+	* src/newgrp.c, src/userdel.c, src/grpck.c, src/gpasswd.c,
+	src/newusers.c, src/pwconv.c, src/chpasswd.c, src/logoutd.c,
+	src/chfn.c, src/groupmems.c, src/usermod.c, src/pwunconv.c,
+	src/expiry.c, src/groupdel.c, src/chgpasswd.c, src/useradd.c,
+	src/su.c, src/groupmod.c, src/passwd.c, src/pwck.c, src/chage.c,
+	src/groupadd.c, src/login.c, src/grpconv.c, src/groups.c,
+	src/grpunconv.c, src/chsh.c: Prog changed to a constant string.
+
+2010-08-22  Nicolas François  <nicolas.francois at centraliens.net>
+
 	* libmisc/limits.c: Avoid implicit conversion of integer to
 	boolean.
 	* libmisc/basename.c: Avoid implicit conversion of pointer to

Modified: upstream/trunk/src/chage.c
===================================================================
--- upstream/trunk/src/chage.c	2010-08-22 19:13:53 UTC (rev 3232)
+++ upstream/trunk/src/chage.c	2010-08-22 19:36:09 UTC (rev 3233)
@@ -65,7 +65,7 @@
 /*
  * Global variables
  */
-char *Prog;
+const char *Prog;
 
 static bool
     dflg = false,		/* set last password change date */

Modified: upstream/trunk/src/chfn.c
===================================================================
--- upstream/trunk/src/chfn.c	2010-08-22 19:13:53 UTC (rev 3232)
+++ upstream/trunk/src/chfn.c	2010-08-22 19:36:09 UTC (rev 3233)
@@ -58,7 +58,7 @@
 /*
  * Global variables.
  */
-char *Prog;
+const char *Prog;
 static char fullnm[BUFSIZ];
 static char roomno[BUFSIZ];
 static char workph[BUFSIZ];

Modified: upstream/trunk/src/chgpasswd.c
===================================================================
--- upstream/trunk/src/chgpasswd.c	2010-08-22 19:13:53 UTC (rev 3232)
+++ upstream/trunk/src/chgpasswd.c	2010-08-22 19:36:09 UTC (rev 3233)
@@ -57,7 +57,7 @@
 /*
  * Global variables
  */
-char *Prog;
+const char *Prog;
 static bool cflg   = false;
 static bool eflg   = false;
 static bool md5flg = false;

Modified: upstream/trunk/src/chpasswd.c
===================================================================
--- upstream/trunk/src/chpasswd.c	2010-08-22 19:13:53 UTC (rev 3232)
+++ upstream/trunk/src/chpasswd.c	2010-08-22 19:36:09 UTC (rev 3233)
@@ -53,7 +53,7 @@
 /*
  * Global variables
  */
-char *Prog;
+const char *Prog;
 static bool cflg   = false;
 static bool eflg   = false;
 static bool md5flg = false;

Modified: upstream/trunk/src/chsh.c
===================================================================
--- upstream/trunk/src/chsh.c	2010-08-22 19:13:53 UTC (rev 3232)
+++ upstream/trunk/src/chsh.c	2010-08-22 19:36:09 UTC (rev 3233)
@@ -61,7 +61,7 @@
 /*
  * Global variables
  */
-char *Prog;		/* Program name */
+const char *Prog;		/* Program name */
 static bool amroot;		/* Real UID is root */
 static char loginsh[BUFSIZ];	/* Name of new login shell */
 /* command line options */

Modified: upstream/trunk/src/expiry.c
===================================================================
--- upstream/trunk/src/expiry.c	2010-08-22 19:13:53 UTC (rev 3232)
+++ upstream/trunk/src/expiry.c	2010-08-22 19:36:09 UTC (rev 3233)
@@ -42,7 +42,7 @@
 #include "prototypes.h"
 
 /* Global variables */
-char *Prog;
+const char *Prog;
 
 /* local function prototypes */
 static RETSIGTYPE catch_signals (int);

Modified: upstream/trunk/src/gpasswd.c
===================================================================
--- upstream/trunk/src/gpasswd.c	2010-08-22 19:13:53 UTC (rev 3232)
+++ upstream/trunk/src/gpasswd.c	2010-08-22 19:36:09 UTC (rev 3233)
@@ -56,7 +56,7 @@
  * Global variables
  */
 /* The name of this command, as it is invoked */
-char *Prog;
+const char *Prog;
 
 #ifdef SHADOWGRP
 /* Indicate if shadow groups are enabled on the system

Modified: upstream/trunk/src/groupadd.c
===================================================================
--- upstream/trunk/src/groupadd.c	2010-08-22 19:13:53 UTC (rev 3232)
+++ upstream/trunk/src/groupadd.c	2010-08-22 19:36:09 UTC (rev 3233)
@@ -70,7 +70,7 @@
 /*
  * Global variables
  */
-char *Prog;
+const char *Prog;
 
 static /*@null@*/char *group_name;
 static gid_t group_id;

Modified: upstream/trunk/src/groupdel.c
===================================================================
--- upstream/trunk/src/groupdel.c	2010-08-22 19:13:53 UTC (rev 3232)
+++ upstream/trunk/src/groupdel.c	2010-08-22 19:36:09 UTC (rev 3233)
@@ -55,7 +55,7 @@
 /*
  * Global variables
  */
-char *Prog;
+const char *Prog;
 
 static char *group_name;
 static gid_t group_id = -1;

Modified: upstream/trunk/src/groupmems.c
===================================================================
--- upstream/trunk/src/groupmems.c	2010-08-22 19:13:53 UTC (rev 3232)
+++ upstream/trunk/src/groupmems.c	2010-08-22 19:36:09 UTC (rev 3233)
@@ -64,7 +64,7 @@
 /*
  * Global variables
  */
-char *Prog;
+const char *Prog;
 
 static char *adduser = NULL;
 static char *deluser = NULL;

Modified: upstream/trunk/src/groupmod.c
===================================================================
--- upstream/trunk/src/groupmod.c	2010-08-22 19:13:53 UTC (rev 3232)
+++ upstream/trunk/src/groupmod.c	2010-08-22 19:36:09 UTC (rev 3233)
@@ -69,7 +69,7 @@
 /*
  * Global variables
  */
-char *Prog;
+const char *Prog;
 
 #ifdef	SHADOWGRP
 static bool is_shadow_grp;

Modified: upstream/trunk/src/groups.c
===================================================================
--- upstream/trunk/src/groups.c	2010-08-22 19:13:53 UTC (rev 3232)
+++ upstream/trunk/src/groups.c	2010-08-22 19:36:09 UTC (rev 3233)
@@ -42,7 +42,7 @@
 /*
  * Global variables
  */
-char *Prog;
+const char *Prog;
 
 /* local function prototypes */
 static void print_groups (const char *member);

Modified: upstream/trunk/src/grpck.c
===================================================================
--- upstream/trunk/src/grpck.c	2010-08-22 19:13:53 UTC (rev 3232)
+++ upstream/trunk/src/grpck.c	2010-08-22 19:36:09 UTC (rev 3233)
@@ -64,7 +64,7 @@
 /*
  * Global variables
  */
-char *Prog;
+const char *Prog;
 
 static const char *grp_file = GROUP_FILE;
 static bool use_system_grp_file = true;

Modified: upstream/trunk/src/grpconv.c
===================================================================
--- upstream/trunk/src/grpconv.c	2010-08-22 19:13:53 UTC (rev 3232)
+++ upstream/trunk/src/grpconv.c	2010-08-22 19:36:09 UTC (rev 3233)
@@ -53,7 +53,7 @@
 /*
  * Global variables
  */
-char *Prog;
+const char *Prog;
 
 static bool gr_locked  = false;
 static bool sgr_locked = false;

Modified: upstream/trunk/src/grpunconv.c
===================================================================
--- upstream/trunk/src/grpunconv.c	2010-08-22 19:13:53 UTC (rev 3232)
+++ upstream/trunk/src/grpunconv.c	2010-08-22 19:36:09 UTC (rev 3233)
@@ -54,7 +54,7 @@
 /*
  * Global variables
  */
-char *Prog;
+const char *Prog;
 
 static bool gr_locked  = false;
 static bool sgr_locked = false;

Modified: upstream/trunk/src/login.c
===================================================================
--- upstream/trunk/src/login.c	2010-08-22 19:13:53 UTC (rev 3232)
+++ upstream/trunk/src/login.c	2010-08-22 19:36:09 UTC (rev 3233)
@@ -82,7 +82,7 @@
 /*
  * Global variables
  */
-char *Prog;
+const char *Prog;
 
 static const char *hostname = "";
 static /*@null@*/ /*@only@*/char *username = NULL;

Modified: upstream/trunk/src/logoutd.c
===================================================================
--- upstream/trunk/src/logoutd.c	2010-08-22 19:13:53 UTC (rev 3232)
+++ upstream/trunk/src/logoutd.c	2010-08-22 19:36:09 UTC (rev 3233)
@@ -43,7 +43,7 @@
 /*
  * Global variables
  */
-char *Prog;
+const char *Prog;
 
 #ifndef DEFAULT_HUP_MESG
 #define DEFAULT_HUP_MESG _("login time exceeded\n\n")

Modified: upstream/trunk/src/newgrp.c
===================================================================
--- upstream/trunk/src/newgrp.c	2010-08-22 19:13:53 UTC (rev 3232)
+++ upstream/trunk/src/newgrp.c	2010-08-22 19:36:09 UTC (rev 3233)
@@ -48,7 +48,7 @@
 /*
  * Global variables
  */
-char *Prog;
+const char *Prog;
 
 extern char **newenvp;
 extern char **environ;

Modified: upstream/trunk/src/newusers.c
===================================================================
--- upstream/trunk/src/newusers.c	2010-08-22 19:13:53 UTC (rev 3232)
+++ upstream/trunk/src/newusers.c	2010-08-22 19:36:09 UTC (rev 3233)
@@ -70,7 +70,7 @@
 /*
  * Global variables
  */
-char *Prog;
+const char *Prog;
 
 static bool rflg = false;	/* create a system account */
 #ifndef USE_PAM

Modified: upstream/trunk/src/passwd.c
===================================================================
--- upstream/trunk/src/passwd.c	2010-08-22 19:13:53 UTC (rev 3232)
+++ upstream/trunk/src/passwd.c	2010-08-22 19:36:09 UTC (rev 3233)
@@ -70,7 +70,7 @@
 /*
  * Global variables
  */
-char *Prog;			/* Program name */
+const char *Prog;		/* Program name */
 
 static char *name;		/* The name of user whose password is being changed */
 static char *myname;		/* The current user's name */

Modified: upstream/trunk/src/pwck.c
===================================================================
--- upstream/trunk/src/pwck.c	2010-08-22 19:13:53 UTC (rev 3232)
+++ upstream/trunk/src/pwck.c	2010-08-22 19:36:09 UTC (rev 3233)
@@ -66,7 +66,7 @@
 /*
  * Global variables
  */
-char *Prog;
+const char *Prog;
 
 static bool use_system_pw_file = true;
 static bool use_system_spw_file = true;

Modified: upstream/trunk/src/pwconv.c
===================================================================
--- upstream/trunk/src/pwconv.c	2010-08-22 19:13:53 UTC (rev 3232)
+++ upstream/trunk/src/pwconv.c	2010-08-22 19:36:09 UTC (rev 3233)
@@ -86,7 +86,7 @@
 /*
  * Global variables
  */
-char *Prog;
+const char *Prog;
 
 static bool spw_locked = false;
 static bool pw_locked = false;

Modified: upstream/trunk/src/pwunconv.c
===================================================================
--- upstream/trunk/src/pwunconv.c	2010-08-22 19:13:53 UTC (rev 3232)
+++ upstream/trunk/src/pwunconv.c	2010-08-22 19:36:09 UTC (rev 3233)
@@ -48,7 +48,7 @@
 /*
  * Global variables
  */
-char *Prog;
+const char *Prog;
 
 static bool spw_locked = false;
 static bool pw_locked = false;

Modified: upstream/trunk/src/su.c
===================================================================
--- upstream/trunk/src/su.c	2010-08-22 19:13:53 UTC (rev 3232)
+++ upstream/trunk/src/su.c	2010-08-22 19:36:09 UTC (rev 3233)
@@ -77,7 +77,7 @@
 /*
  * Global variables
  */
-char *Prog;
+const char *Prog;
 
 /* not needed by sulog.c anymore */
 static char name[BUFSIZ];

Modified: upstream/trunk/src/useradd.c
===================================================================
--- upstream/trunk/src/useradd.c	2010-08-22 19:13:53 UTC (rev 3232)
+++ upstream/trunk/src/useradd.c	2010-08-22 19:36:09 UTC (rev 3233)
@@ -85,7 +85,7 @@
 /*
  * Global variables
  */
-char *Prog;
+const char *Prog;
 
 /*
  * These defaults are used if there is no defaults file.

Modified: upstream/trunk/src/userdel.c
===================================================================
--- upstream/trunk/src/userdel.c	2010-08-22 19:13:53 UTC (rev 3232)
+++ upstream/trunk/src/userdel.c	2010-08-22 19:36:09 UTC (rev 3233)
@@ -78,7 +78,7 @@
 /*
  * Global variables
  */
-char *Prog;
+const char *Prog;
 
 static char *user_name;
 static uid_t user_id;

Modified: upstream/trunk/src/usermod.c
===================================================================
--- upstream/trunk/src/usermod.c	2010-08-22 19:13:53 UTC (rev 3232)
+++ upstream/trunk/src/usermod.c	2010-08-22 19:36:09 UTC (rev 3233)
@@ -89,7 +89,7 @@
 /*
  * Global variables
  */
-char *Prog;
+const char *Prog;
 
 static char *user_name;
 static char *user_newname;




More information about the Pkg-shadow-commits mailing list