This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Remove vms_fopen
- From: kenner at vlsi1 dot ultra dot nyu dot edu (Richard Kenner)
- To: gcc-patches at gcc dot gnu dot org
- Date: Mon, 11 Mar 02 08:24:54 EST
- Subject: Remove vms_fopen
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 ----