jcf-dump.c (main): Test for correct condition after output file creation.
authorJoerg Brunsmann <joerg.brunsmann@fernuni-hagen.de>
Mon, 21 Feb 2000 16:36:55 +0000 (16:36 +0000)
committerTom Tromey <tromey@gcc.gnu.org>
Mon, 21 Feb 2000 16:36:55 +0000 (16:36 +0000)
Mon Jan 18 14:30:09 2000  Joerg Brunsmann  <joerg.brunsmann@fernuni-hagen.de>

* jcf-dump.c (main): Test for correct condition after
output file creation.

From-SVN: r32089

gcc/java/ChangeLog
gcc/java/jcf-dump.c

index 2f82ebcb1c7ec8822595fbf01696b2089446901e..453705620ff2f7f0aa51c7bdccee20cd999d2c4d 100644 (file)
@@ -1,3 +1,8 @@
+Mon Jan 18 14:30:09 2000  Joerg Brunsmann  <joerg.brunsmann@fernuni-hagen.de>
+
+       * jcf-dump.c (main): Test for correct condition after
+       output file creation.
+
 2000-02-19  Anthony Green  <green@cygnus.com>
 
        * jcf-depend.c (add_entry): Fix test for first list entry.
index 971a1e3499b4eb58188810b8f115b1a08af2efb4..b8531d47c7b2c1895febc97ae6774d5c53eaf72f 100644 (file)
@@ -880,7 +880,7 @@ DEFUN(main, (argc, argv),
   if (output_file)
     {
       out = fopen (output_file, "w");
-      if (out)
+      if (out)
        {
          fprintf (stderr, "Cannot open '%s' for output.\n", output_file);
          return FATAL_EXIT_CODE;