1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-09 13:10:57 -08:00
emacs/lib-src
Paul Eggert ba1ed52f0c Use binary-io module, O_BINARY, and "b" flag.
* admin/merge-gnulib (GNULIB_MODULES): Add binary-io.  It was already
present implicitly; this just makes the dependence explicit.
* lib-src/etags.c, lib-src/hexl.c, lib-src/make-docfile.c:
Include binary-io.h instead of fcntl.h and/or io.h.
(main): Use set_binary_mode or SET_BINARY
in place of handcrafted code.
* lib-src/etags.c (main) [DOS_NT]:
* lib-src/movemail.c (main) [WINDOWSNT]:
Don't mess with _fmode.
* lib-src/etags.c (main, process_file_name, analyse_regex):
Use fopen/popen's "b" flag instead.
* lib-src/movemail.c (main, popmail): Use open/lk_open/mkostemp's O_BINARY
instead.
* src/callproc.c (create_temp_file): Use mkostemp's O_BINARY flag.
* src/emacs.c [MSDOS]:
* src/emacs.c (main) [DOS_NT]: Don't mess with _fmode.
(main) [MSDOS]: Use SET_BINARY instead of setmode.
* src/minibuf.c: Include binary-io.h instead of fcntl.h.
(read_minibuf_noninteractive):
Use set_binary_mode instead of handcrafted code.
Don't call emacs_set_tty if emacs_get_tty failed.
* src/sysdep.c, src/systty.h (emacs_get_tty): Return int, not void.
* src/sysdep.c (emacs_open, emacs_pipe): Use O_BINARY.
* src/w32.c (pipe2): Adjust eassert to include O_BINARY.

Fixes: debbugs:18006
2014-07-14 12:23:18 -07:00
..
.gitignore Don't ignore files that are no longer generated 2011-02-13 19:35:05 +01:00
ChangeLog Use binary-io module, O_BINARY, and "b" flag. 2014-07-14 12:23:18 -07:00
COPYING Change to GPLv3. 2007-07-25 07:00:38 +00:00
ctags.c Port ctags+etags build to Sun C 5.12. 2014-05-18 11:57:04 -07:00
ebrowse.c Update copyright year to 2014 by running admin/update-copyright. 2014-01-01 07:43:34 +00:00
emacsclient.c Omit redundant extern decls. 2014-06-17 09:09:19 -07:00
etags.c Use binary-io module, O_BINARY, and "b" flag. 2014-07-14 12:23:18 -07:00
grep-changelog Update copyright year to 2014 by running admin/update-copyright. 2014-01-01 07:43:34 +00:00
hexl.c Use binary-io module, O_BINARY, and "b" flag. 2014-07-14 12:23:18 -07:00
make-docfile.c Use binary-io module, O_BINARY, and "b" flag. 2014-07-14 12:23:18 -07:00
Makefile.in lib-src/Makefile trivial simplifications 2014-06-25 23:18:53 -07:00
makefile.w32-in Update copyright year to 2014 by running admin/update-copyright. 2014-01-01 07:43:34 +00:00
movemail.c Use binary-io module, O_BINARY, and "b" flag. 2014-07-14 12:23:18 -07:00
ntlib.c Update copyright year to 2014 by running admin/update-copyright. 2014-01-01 07:43:34 +00:00
ntlib.h Minor fixes for MS-Windows MinGW64 build. 2014-05-26 19:55:28 +03:00
pop.c Update copyright year to 2014 by running admin/update-copyright. 2014-01-01 07:43:34 +00:00
pop.h Update copyright year to 2014 by running admin/update-copyright. 2014-01-01 07:43:34 +00:00
profile.c Update copyright year to 2014 by running admin/update-copyright. 2014-01-01 07:43:34 +00:00
rcs2log Fix rcs2log problems with CVS. 2014-05-20 00:59:28 -07:00
README
update-game-score.c Remove dependencies on getdelim and getline. 2014-05-18 21:56:03 -07:00
update-game-score.exe.manifest Provide a Windows manifest for update-game-score.exe. 2013-08-10 10:43:41 +03:00

This directory contains the source code for the architecture-dependent
files that go in ${archlibdir}.  At present, these are mostly utility
programs used by GNU Emacs.