* opncls.c (bfd_fdopenr): Determine whether to fdopen for

update, based on how the underlying file was opened.  Obsoletes
FASCIST_FDOPEN.
* hosts/rs6000.h, hosts/tahoe.h, hosts/vaxbsd.h:  Remove
all FASCIST_FDOPEN config defines.
This commit is contained in:
John Gilmore 1992-09-10 20:31:10 +00:00
parent b67903acf6
commit c00bab93f0
2 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,11 @@
Thu Sep 10 13:28:24 1992 John Gilmore (gnu@cygnus.com)
* opncls.c (bfd_fdopenr): Determine whether to fdopen for
update, based on how the underlying file was opened. Obsoletes
FASCIST_FDOPEN.
* hosts/rs6000.h, hosts/tahoe.h, hosts/vaxbsd.h: Remove
all FASCIST_FDOPEN config defines.
Tue Sep 8 21:37:58 1992 Ken Raeburn (raeburn@cambridge.cygnus.com)
* sparc-opc.c: Moved to opcodes library, now that we have one.

View File

@ -8,9 +8,6 @@
#include <sys/file.h>
#include <stdlib.h> /* for malloc() */
/* fdopen() won't let you open read-only files for update */
#define FASCIST_FDOPEN
#ifndef O_ACCMODE
#define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR)
#endif