# | Line 10 | Line 10 | static const char RCSid[] = "$Id$"; | |
---|---|---|
10 | #include "copyright.h" | |
11 | ||
12 | #include "standard.h" | |
13 | + | #include "platform.h" |
14 | #include "paths.h" | |
15 | ||
16 | ||
# | Line 52 | Line 53 | dupheader() /* repeat header on standard output */ | |
53 | if (headfp == NULL) { | |
54 | if ((headfp = fopen(headfname, "r")) == NULL) | |
55 | error(SYSTEM, "error reopening header file"); | |
56 | < | #ifdef MSDOS |
56 | < | setmode(fileno(headfp), O_BINARY); |
57 | < | #endif |
56 | > | SET_FILE_BINARY(headfp); |
57 | } else if (fseek(headfp, 0L, 0) < 0) | |
58 | error(SYSTEM, "seek error on header file"); | |
59 | while ((c = getc(headfp)) != EOF) |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |