* output-file.c (output_file_create): Don't try to open using
authorAlan Modra <amodra@gmail.com>
Wed, 8 Aug 2001 01:10:17 +0000 (01:10 +0000)
committerAlan Modra <amodra@gmail.com>
Wed, 8 Aug 2001 01:10:17 +0000 (01:10 +0000)
FOPEN_W as it's unnecessary and VMS doesn't define FOPEN_W.

gas/ChangeLog
gas/output-file.c

index f49a539c3e166ebebd3d1669a7148e13ece163de..0478495dee371dcf0abf42ca722b1db7189dbf25 100644 (file)
@@ -1,3 +1,8 @@
+2001-08-08  Alan Modra  <amodra@bigpond.net.au>
+
+       * output-file.c (output_file_create): Don't try to open using
+       FOPEN_W as it's unnecessary and VMS doesn't define FOPEN_W.
+
 2001-08-07  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
 
        /gas/ChangeLog
index de1dcbf6ed214541bd42c2605a9439b66de13955..531e35fa691e7f4e6ffddf167ccc5a18a5b58812 100644 (file)
@@ -110,12 +110,6 @@ output_file_create (name)
     }
 
   stdoutput = fopen (name, FOPEN_WB);
-
-  /* Some systems don't grok "b" in fopen modes.  */
-  /* XXX - is this still necessary now that we use FOPEN_WB ?  */
-  if (stdoutput == NULL)
-    stdoutput = fopen (name, FOPEN_W);
-
   if (stdoutput == NULL)
     {
       as_perror (_("FATAL: can't create %s"), name);