forked from Imagelibrary/binutils-gdb
* 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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user