• Paul Eggert's avatar
    Simplify binary I/O configuration · 3bbf5170
    Paul Eggert authored
    * lib-src/etags.c: Include <sysstdio.h> rather than <stdio.h>.
    (process_file_name, analyze_regex): Use FOPEN_BINARY rather than
    hard-coded "b".
    * src/lread.c (Fload): Prefer FOPEN_TEXT and FOPEN_BINARY to
    #ifdef DOS_NT.
    * src/sysstdio.h: Add copyright notice.  Include <fcntl.h>.
    (FOPEN_BINARY, FOPEN_TEXT): New macros.
    * src/xfaces.c (Fx_load_color_file): Use FOPEN_TEXT, since POSIX
    doesn't guarantee that "t" will work.
    3bbf5170
lread.c 136 KB