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

Nicolas FRANÇOIS nekral-guest at alioth.debian.org
Thu Nov 5 22:03:38 UTC 2009


Author: nekral-guest
Date: 2009-11-05 22:03:36 +0000 (Thu, 05 Nov 2009)
New Revision: 3086

Modified:
   upstream/trunk/ChangeLog
   upstream/trunk/NEWS
   upstream/trunk/src/groupmod.c
Log:
	* NEWS, src/groupmod.c: Fixed groupmod when configured with
	--enable-account-tools-setuid.


Modified: upstream/trunk/ChangeLog
===================================================================
--- upstream/trunk/ChangeLog	2009-11-01 16:59:48 UTC (rev 3085)
+++ upstream/trunk/ChangeLog	2009-11-05 22:03:36 UTC (rev 3086)
@@ -1,3 +1,8 @@
+2009-11-05  Nicolas François  <nicolas.francois at centraliens.net>
+
+	* NEWS, src/groupmod.c: Fixed groupmod when configured with
+	--enable-account-tools-setuid.
+
 2009-11-01  Nicolas François  <nicolas.francois at centraliens.net>
 
 	* NEWS, man/login.defs.d/ENV_SUPATH.xml, libmisc/setupenv.c:

Modified: upstream/trunk/NEWS
===================================================================
--- upstream/trunk/NEWS	2009-11-01 16:59:48 UTC (rev 3085)
+++ upstream/trunk/NEWS	2009-11-05 22:03:36 UTC (rev 3086)
@@ -6,6 +6,8 @@
   * report usage error to stderr, but report usage help to stdout (and return
     zero) when explicitly requested (e.g. with --help).
 
+- groupmod
+  * Fixed groupmod when configured with --enable-account-tools-setuid.
 - su
   * Document the su exit values.
   * When su receives a signal, wait for the child to terminate (after

Modified: upstream/trunk/src/groupmod.c
===================================================================
--- upstream/trunk/src/groupmod.c	2009-11-01 16:59:48 UTC (rev 3085)
+++ upstream/trunk/src/groupmod.c	2009-11-05 22:03:36 UTC (rev 3086)
@@ -724,7 +724,7 @@
 	{
 		struct passwd *pampw;
 		pampw = getpwuid (getuid ()); /* local, no need for xgetpwuid */
-		if (NULL == pamh) {
+		if (NULL == pampw) {
 			fprintf (stderr,
 			         _("%s: Cannot determine your user name.\n"),
 			         Prog);




More information about the Pkg-shadow-commits mailing list