/[man-db]/man-db/src/catman.c
ViewVC logotype

Diff of /man-db/src/catman.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.10 by cjwatson, Sat Feb 22 17:46:01 2003 UTC revision 1.11 by cjwatson, Mon Apr 28 14:12:43 2003 UTC
# Line 389  int main (int argc, char *argv[]) Line 389  int main (int argc, char *argv[])
389          program_name = xstrdup (basename (argv[0]));          program_name = xstrdup (basename (argv[0]));
390    
391          /* initialise the locale */          /* initialise the locale */
392          locale = setlocale (LC_ALL, "");          locale = xstrdup (setlocale (LC_ALL, ""));
393          if (locale)          if (!locale) {
                 locale = xstrdup (locale);  
         else {  
394                  /* Obviously can't translate this. */                  /* Obviously can't translate this. */
395                  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 "
396                               "are correct");                               "are correct");

Legend:
Removed from v.1.10  
changed lines
  Added in v.1.11

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26