* src/su.c: Ignore return value of setlocale(),
bindtextdomain(), and textdomain().
This commit is contained in:
parent
63f0e5e2c0
commit
7dea133b55
@ -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>
|
||||
|
||||
* src/useradd.c: Use a bool when possible instead of int integers.
|
||||
|
6
src/su.c
6
src/su.c
@ -336,9 +336,9 @@ int main (int argc, char **argv)
|
||||
|
||||
sanitize_env ();
|
||||
|
||||
setlocale (LC_ALL, "");
|
||||
bindtextdomain (PACKAGE, LOCALEDIR);
|
||||
textdomain (PACKAGE);
|
||||
(void) setlocale (LC_ALL, "");
|
||||
(void) bindtextdomain (PACKAGE, LOCALEDIR);
|
||||
(void) textdomain (PACKAGE);
|
||||
|
||||
change_environment = 1;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user