* src/sulogin.c: Added Prog, needed because of the last xmalloc()

change.
This commit is contained in:
nekral-guest 2011-06-03 21:08:56 +00:00
parent e8723c375f
commit ce737cf543
2 changed files with 8 additions and 0 deletions

View File

@ -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>
* man/zh_CN/, man/zh_CN/Makefile.am: Added directory, and zh_CN

View File

@ -49,6 +49,8 @@
/*
* Global variables
*/
const char *Prog;
static char name[BUFSIZ];
static char pass[BUFSIZ];
@ -101,6 +103,7 @@ static RETSIGTYPE catch_signals (unused int sig)
tcsetattr (0, TCSANOW, &termio);
#endif
Prog = Basename (argv[0]);
(void) setlocale (LC_ALL, "");
(void) bindtextdomain (PACKAGE, LOCALEDIR);
(void) textdomain (PACKAGE);