436 |
program_name = xstrdup (basename (argv[0])); |
program_name = xstrdup (basename (argv[0])); |
437 |
|
|
438 |
/* initialise the locale */ |
/* initialise the locale */ |
439 |
locale = setlocale (LC_ALL, ""); |
locale = xstrdup (setlocale (LC_ALL, "")); |
440 |
if (locale) |
if (!locale) { |
|
locale = xstrdup (locale); |
|
|
else { |
|
441 |
/* Obviously can't translate this. */ |
/* Obviously can't translate this. */ |
442 |
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 " |
443 |
"are correct"); |
"are correct"); |