diff options
author | Alan Modra <amodra@gmail.com> | 2001-08-08 01:10:17 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2001-08-08 01:10:17 +0000 |
commit | d959c450dfc582be0a2b967e70635badbcd86281 (patch) | |
tree | 545555f336702f2c2d079a22bc7143942437fe66 /gas/output-file.c | |
parent | 1b4ca90e3f9d8c9233e308244dde0483837771cf (diff) | |
download | gdb-d959c450dfc582be0a2b967e70635badbcd86281.zip gdb-d959c450dfc582be0a2b967e70635badbcd86281.tar.gz gdb-d959c450dfc582be0a2b967e70635badbcd86281.tar.bz2 |
* 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.
Diffstat (limited to 'gas/output-file.c')
-rw-r--r-- | gas/output-file.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/gas/output-file.c b/gas/output-file.c index de1dcbf..531e35f 100644 --- a/gas/output-file.c +++ b/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); |