From: John Gilmore Date: Sat, 9 Nov 1991 11:11:09 +0000 (+0000) Subject: Define FASCIST_FDOPEN. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=00a76e06c981b78540154b11d1ae754ed4fb8436;p=binutils-gdb.git Define FASCIST_FDOPEN. --- diff --git a/bfd/hosts/rs6000.h b/bfd/hosts/rs6000.h index 4fb70e8f543..7cf72b10379 100644 --- a/bfd/hosts/rs6000.h +++ b/bfd/hosts/rs6000.h @@ -8,6 +8,9 @@ #include #include /* 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