diff options
| author | Paul Eggert | 2015-02-19 19:20:35 -0800 |
|---|---|---|
| committer | Paul Eggert | 2015-02-19 19:21:32 -0800 |
| commit | 3bbf5170722d9e555307259763623c74240a2555 (patch) | |
| tree | 853912d230255ec479567a7feb0cb9d0506e9de4 /lib-src/ChangeLog | |
| parent | 12ab9571935d79c69ffab0fb1ea3f6e20f475860 (diff) | |
| download | emacs-3bbf5170722d9e555307259763623c74240a2555.tar.gz emacs-3bbf5170722d9e555307259763623c74240a2555.zip | |
Simplify binary I/O configuration
* 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.
Diffstat (limited to 'lib-src/ChangeLog')
| -rw-r--r-- | lib-src/ChangeLog | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog index 05511164706..4ac9638102f 100644 --- a/lib-src/ChangeLog +++ b/lib-src/ChangeLog | |||
| @@ -1,3 +1,10 @@ | |||
| 1 | 2015-02-20 Paul Eggert <eggert@cs.ucla.edu> | ||
| 2 | |||
| 3 | Simplify binary I/O configuration | ||
| 4 | * etags.c: Include <sysstdio.h> rather than <stdio.h>. | ||
| 5 | (process_file_name, analyze_regex): Use FOPEN_BINARY rather than | ||
| 6 | hard-coded "b". | ||
| 7 | |||
| 1 | 2015-02-19 Eli Zaretskii <eliz@gnu.org> | 8 | 2015-02-19 Eli Zaretskii <eliz@gnu.org> |
| 2 | 9 | ||
| 3 | * etags.c (process_file_name) [!DOS_NT]: Use "r", not "rb" in the | 10 | * etags.c (process_file_name) [!DOS_NT]: Use "r", not "rb" in the |