* src/sulogin.c: Added Prog, needed because of the last xmalloc()
change.
This commit is contained in:
		| @@ -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 | ||||
|   | ||||
| @@ -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); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user