* src/su.c: Ignore return value of setlocale(),

bindtextdomain(), and textdomain().
This commit is contained in:
nekral-guest
2008-06-09 22:28:16 +00:00
parent 63f0e5e2c0
commit 7dea133b55
2 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2008-06-09 Nicolas François <nicolas.francois@centraliens.net>
* src/su.c: Ignore return value of setlocale(),
bindtextdomain(), and textdomain().
2008-06-09 Nicolas François <nicolas.francois@centraliens.net> 2008-06-09 Nicolas François <nicolas.francois@centraliens.net>
* src/useradd.c: Use a bool when possible instead of int integers. * src/useradd.c: Use a bool when possible instead of int integers.

View File

@ -336,9 +336,9 @@ int main (int argc, char **argv)
sanitize_env (); sanitize_env ();
setlocale (LC_ALL, ""); (void) setlocale (LC_ALL, "");
bindtextdomain (PACKAGE, LOCALEDIR); (void) bindtextdomain (PACKAGE, LOCALEDIR);
textdomain (PACKAGE); (void) textdomain (PACKAGE);
change_environment = 1; change_environment = 1;