606 |
program_name = xstrdup (basename (argv[0])); |
program_name = xstrdup (basename (argv[0])); |
607 |
|
|
608 |
/* initialise the locale */ |
/* initialise the locale */ |
609 |
locale = setlocale (LC_ALL, ""); |
locale = xstrdup (setlocale (LC_ALL, "")); |
610 |
if (locale) |
if (!locale) { |
|
locale = xstrdup (locale); |
|
|
else { |
|
611 |
/* Obviously can't translate this. */ |
/* Obviously can't translate this. */ |
612 |
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 " |
613 |
"are correct"); |
"are correct"); |