[Pkg-shadow-commits] r2095 - in upstream/trunk: . src
nekral-guest at alioth.debian.org
nekral-guest at alioth.debian.org
Mon Jun 9 22:28:17 UTC 2008
Author: nekral-guest
Date: 2008-06-09 22:28:16 +0000 (Mon, 09 Jun 2008)
New Revision: 2095
Modified:
upstream/trunk/ChangeLog
upstream/trunk/src/su.c
Log:
* src/su.c: Ignore return value of setlocale(),
bindtextdomain(), and textdomain().
Modified: upstream/trunk/ChangeLog
===================================================================
--- upstream/trunk/ChangeLog 2008-06-09 22:08:08 UTC (rev 2094)
+++ upstream/trunk/ChangeLog 2008-06-09 22:28:16 UTC (rev 2095)
@@ -1,5 +1,10 @@
2008-06-09 Nicolas François <nicolas.francois at centraliens.net>
+ * src/su.c: Ignore return value of setlocale(),
+ bindtextdomain(), and textdomain().
+
+2008-06-09 Nicolas François <nicolas.francois at centraliens.net>
+
* src/useradd.c: Use a bool when possible instead of int integers.
* src/useradd.c: Avoid implicit conversion of pointers / integers
/ chars to booleans.
Modified: upstream/trunk/src/su.c
===================================================================
--- upstream/trunk/src/su.c 2008-06-09 22:08:08 UTC (rev 2094)
+++ upstream/trunk/src/su.c 2008-06-09 22:28:16 UTC (rev 2095)
@@ -336,9 +336,9 @@
sanitize_env ();
- setlocale (LC_ALL, "");
- bindtextdomain (PACKAGE, LOCALEDIR);
- textdomain (PACKAGE);
+ (void) setlocale (LC_ALL, "");
+ (void) bindtextdomain (PACKAGE, LOCALEDIR);
+ (void) textdomain (PACKAGE);
change_environment = 1;
More information about the Pkg-shadow-commits
mailing list