Define FASCIST_FDOPEN.

This commit is contained in:
John Gilmore 1991-11-09 11:11:09 +00:00
parent 1d82d3dcad
commit 00a76e06c9

View 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