* 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.
This commit is contained in:
Alan Modra
2001-08-08 01:10:17 +00:00
parent 1b4ca90e3f
commit d959c450df
2 changed files with 5 additions and 6 deletions

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