Browse Source

* 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.
binutils-2_12-branch
Alan Modra 25 years ago
parent
commit
d959c450df
  1. 5
      gas/ChangeLog
  2. 6
      gas/output-file.c

5
gas/ChangeLog

@ -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

6
gas/output-file.c

@ -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);

Loading…
Cancel
Save