This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: vax gas
- To: John David Anglin <dave at hiauly1 dot hia dot nrc dot ca>
- Subject: Re: vax gas
- From: Alan Modra <amodra at bigpond dot net dot au>
- Date: Wed, 8 Aug 2001 10:41:52 +0930
- Cc: binutils at sourceware dot cygnus dot com
- References: <20010803003945.D26828@bubble.sa.bigpond.net.au> <200108050206.f7526VFu006123@hiauly1.hia.nrc.ca>
On Sat, Aug 04, 2001 at 10:06:31PM -0400, John David Anglin wrote:
> ../../gas/output-file.c: In function `output_file_create':
> ../../gas/output-file.c:117: `FOPEN_W' undeclared (first use in this function)
gas/ChangeLog
* 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.
Applying to mainline.
--
Alan Modra
Index: gas/output-file.c
===================================================================
RCS file: /cvs/src/src/gas/output-file.c,v
retrieving revision 1.5
diff -u -p -r1.5 output-file.c
--- output-file.c 2001/08/01 01:44:25 1.5
+++ output-file.c 2001/08/08 01:01:54
@@ -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);