summaryrefslogtreecommitdiff
path: root/gas/output-file.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2001-08-08 01:10:17 +0000
committerAlan Modra <amodra@bigpond.net.au>2001-08-08 01:10:17 +0000
commit6e39ff27ae3ce588a2dc0b1dc1dbac08fe718953 (patch)
treed83fdf239c71568f7b61598938a354687b0acdb6 /gas/output-file.c
parentdb67bbe0b0ef9f68e0146f57354dc7b85e30af12 (diff)
downloadbinutils-redhat-6e39ff27ae3ce588a2dc0b1dc1dbac08fe718953.tar.gz
* 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.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/gas/output-file.c b/gas/output-file.c
index de1dcbf6ed..531e35fa69 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);