[Pkg-shadow-commits] r3088 - in upstream/trunk: . libmisc

Nicolas FRANÇOIS nekral-guest at alioth.debian.org
Sun Jan 24 17:05:38 UTC 2010


Author: nekral-guest
Date: 2010-01-24 17:05:37 +0000 (Sun, 24 Jan 2010)
New Revision: 3088

Modified:
   upstream/trunk/ChangeLog
   upstream/trunk/libmisc/setupenv.c
Log:
	* libmisc/setupenv.c: Fix typo from 2009-11-01.


Modified: upstream/trunk/ChangeLog
===================================================================
--- upstream/trunk/ChangeLog	2010-01-24 16:53:15 UTC (rev 3087)
+++ upstream/trunk/ChangeLog	2010-01-24 17:05:37 UTC (rev 3088)
@@ -1,3 +1,7 @@
+2009-01-24  Nicolas François  <nicolas.francois at centraliens.net>
+
+	* libmisc/setupenv.c: Fix typo from 2009-11-01.
+
 2009-01-24  Paweł Hajdan, Jr.  <phajdan.jr at gentoo.org>
 
 	* configure.in: Add support for TCB in configure.in. Actual TCB

Modified: upstream/trunk/libmisc/setupenv.c
===================================================================
--- upstream/trunk/libmisc/setupenv.c	2010-01-24 16:53:15 UTC (rev 3087)
+++ upstream/trunk/libmisc/setupenv.c	2010-01-24 17:05:37 UTC (rev 3088)
@@ -265,7 +265,7 @@
 
 	if (NULL == cp) {
 		/* not specified, use a minimal default */
-		addenv ((pwent.pw_uid == 0) ? "PATH=/sbin:/bin:/usr/sbin:/usr/bin" : "PATH=/bin:/usr/bin", NULL);
+		addenv ((info->pw_uid == 0) ? "PATH=/sbin:/bin:/usr/sbin:/usr/bin" : "PATH=/bin:/usr/bin", NULL);
 	} else if (strchr (cp, '=')) {
 		/* specified as name=value (PATH=...) */
 		addenv (cp, NULL);




More information about the Pkg-shadow-commits mailing list