420 |
int purged = 0; |
int purged = 0; |
421 |
int quiet_temp = 0; |
int quiet_temp = 0; |
422 |
char **mp; |
char **mp; |
|
char *locale; |
|
423 |
|
|
424 |
int option_index; /* not used, but required by getopt_long() */ |
int option_index; /* not used, but required by getopt_long() */ |
425 |
|
|
435 |
program_name = xstrdup (basename (argv[0])); |
program_name = xstrdup (basename (argv[0])); |
436 |
|
|
437 |
/* initialise the locale */ |
/* initialise the locale */ |
438 |
locale = xstrdup (setlocale (LC_ALL, "")); |
if (!setlocale (LC_ALL, "")) |
|
if (!locale) { |
|
439 |
/* Obviously can't translate this. */ |
/* Obviously can't translate this. */ |
440 |
error (0, 0, "can't set the locale; make sure $LC_* and $LANG " |
error (0, 0, "can't set the locale; make sure $LC_* and $LANG " |
441 |
"are correct"); |
"are correct"); |
|
locale = "C"; |
|
|
} |
|
442 |
bindtextdomain (PACKAGE, LOCALEDIR); |
bindtextdomain (PACKAGE, LOCALEDIR); |
443 |
textdomain (PACKAGE); |
textdomain (PACKAGE); |
444 |
|
|