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

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

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

revision 1.30 by cjwatson, Sun Apr 13 12:40:19 2003 UTC revision 1.31 by cjwatson, Mon Apr 28 14:12:43 2003 UTC
# Line 436  int main (int argc, char *argv[]) Line 436  int main (int argc, char *argv[])
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");

Legend:
Removed from v.1.30  
changed lines
  Added in v.1.31

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