* src/sulogin.c: Added Prog, needed because of the last xmalloc()
change.
This commit is contained in:
parent
e8723c375f
commit
ce737cf543
@ -1,3 +1,8 @@
|
|||||||
|
2011-06-03 Nicolas François <nicolas.francois@centraliens.net>
|
||||||
|
|
||||||
|
* src/sulogin.c: Added Prog, needed because of the last xmalloc()
|
||||||
|
change.
|
||||||
|
|
||||||
2011-06-03 Nicolas François <nicolas.francois@centraliens.net>
|
2011-06-03 Nicolas François <nicolas.francois@centraliens.net>
|
||||||
|
|
||||||
* man/zh_CN/, man/zh_CN/Makefile.am: Added directory, and zh_CN
|
* man/zh_CN/, man/zh_CN/Makefile.am: Added directory, and zh_CN
|
||||||
|
@ -49,6 +49,8 @@
|
|||||||
/*
|
/*
|
||||||
* Global variables
|
* Global variables
|
||||||
*/
|
*/
|
||||||
|
const char *Prog;
|
||||||
|
|
||||||
static char name[BUFSIZ];
|
static char name[BUFSIZ];
|
||||||
static char pass[BUFSIZ];
|
static char pass[BUFSIZ];
|
||||||
|
|
||||||
@ -101,6 +103,7 @@ static RETSIGTYPE catch_signals (unused int sig)
|
|||||||
tcsetattr (0, TCSANOW, &termio);
|
tcsetattr (0, TCSANOW, &termio);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Prog = Basename (argv[0]);
|
||||||
(void) setlocale (LC_ALL, "");
|
(void) setlocale (LC_ALL, "");
|
||||||
(void) bindtextdomain (PACKAGE, LOCALEDIR);
|
(void) bindtextdomain (PACKAGE, LOCALEDIR);
|
||||||
(void) textdomain (PACKAGE);
|
(void) textdomain (PACKAGE);
|
||||||
|
Loading…
Reference in New Issue
Block a user