This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: vax gas


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]