* src/su.c: Ignore return value of setlocale(),
bindtextdomain(), and textdomain().
This commit is contained in:
@ -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.
|
||||||
|
6
src/su.c
6
src/su.c
@ -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;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user