Rotate ChangeLogs
[deliverable/binutils-gdb.git] / binutils / coffdump.c
index 5cd75cb75f3eedcca1fc30b4149f44a660d2f142..77dbd33276d59a66f79dce028f144d6ca36cbf83 100644 (file)
@@ -1,5 +1,5 @@
 /* Coff file dumper.
-   Copyright (C) 1994, 1998 Free Software Foundation, Inc.
+   Copyright (C) 1994, 95, 98, 99, 2000 Free Software Foundation, Inc.
 
 This file is part of GNU Binutils.
 
@@ -476,7 +476,7 @@ main (ac, av)
       { NULL, no_argument, 0, 0 }
     };
 
-#ifdef HAVE_SETLOCALE
+#if defined (HAVE_SETLOCALE) && defined (HAVE_LC_MESSAGES)
   setlocale (LC_MESSAGES, "");
 #endif
   bindtextdomain (PACKAGE, LOCALEDIR);
@@ -513,9 +513,7 @@ main (ac, av)
 
   if (!input_file)
     {
-      fprintf (stderr,_("%s: no input file specified\n"),
-              program_name);
-      exit(1);
+      fatal (_("no input file specified"));
     }
   abfd = bfd_openr (input_file, 0);
 
This page took 0.024653 seconds and 4 git commands to generate.