Remove vms_fopen
Richard Kenner
kenner@vlsi1.ultra.nyu.edu
Mon Mar 11 05:28:00 GMT 2002
Committed to 3.1 branch and trunk:
2002-03-11 Douglas B Rupp <rupp@gnat.com>
* toplev.c (vms_fopen): Remove, not needed.
*** toplev.c.1 Wed Feb 13 00:03:36 2002
--- toplev.c Fri Feb 22 11:44:18 2002
***************
*** 92,120 ****
#include "halfpic.h"
#endif
- #ifdef VMS
- /* The extra parameters substantially improve the I/O performance. */
-
- static FILE *
- vms_fopen (fname, type)
- char *fname;
- char *type;
- {
- /* The <stdio.h> in the gcc-vms-1.42 distribution prototypes fopen with two
- fixed arguments, which matches ANSI's specification but not VAXCRTL's
- pre-ANSI implementation. This hack circumvents the mismatch problem. */
- FILE *(*vmslib_fopen)() = (FILE *(*)()) fopen;
-
- if (*type == 'w')
- return (*vmslib_fopen) (fname, type, "mbc=32",
- "deq=64", "fop=tef", "shr=nil");
- else
- return (*vmslib_fopen) (fname, type, "mbc=32");
- }
-
- #define fopen vms_fopen
- #endif /* VMS */
-
/* Carry information from ASM_DECLARE_OBJECT_NAME
to ASM_FINISH_DECLARE_OBJECT. */
--- 92,97 ----
More information about the Gcc-patches
mailing list