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

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

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

revision 1.29 by cjwatson, Tue Mar 25 03:41:44 2003 UTC revision 1.30 by cjwatson, Mon Apr 28 14:12:43 2003 UTC
# Line 606  int main (int argc, char *argv[]) Line 606  int main (int argc, char *argv[])
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");

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

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