* opncls.c (bfd_fdopenr): Determine whether to fdopen for
authorJohn Gilmore <gnu@cygnus>
Thu, 10 Sep 1992 20:31:10 +0000 (20:31 +0000)
committerJohn Gilmore <gnu@cygnus>
Thu, 10 Sep 1992 20:31:10 +0000 (20:31 +0000)
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.

bfd/ChangeLog
bfd/hosts/rs6000.h

index 7ac36d6..d90f05d 100644 (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.
index b41ed5f..1d5863b 100644 (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