Define FASCIST_FDOPEN.
authorJohn Gilmore <gnu@cygnus>
Sat, 9 Nov 1991 11:11:09 +0000 (11:11 +0000)
committerJohn Gilmore <gnu@cygnus>
Sat, 9 Nov 1991 11:11:09 +0000 (11:11 +0000)
bfd/hosts/rs6000.h

index 4fb70e8f5434e47696e15d230bd419ac0a651f86..7cf72b10379ebc6426ea9e49d947a82802fa9b81 100644 (file)
@@ -8,6 +8,9 @@
 #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