diff options
author | Eli Zaretskii <eliz@gnu.org> | 2016-01-12 18:41:58 +0200 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2016-01-12 18:41:58 +0200 |
commit | 58a622d473112f8ff5b4bdb3e49bc6573dfd3404 (patch) | |
tree | 58b618f654cae22d1e5f102cbb48bec56e833d45 /lisp/emacs-lisp/re-builder.el | |
parent | 1f6898d0510cd15455f665c0f38451755a374243 (diff) | |
download | emacs-58a622d473112f8ff5b4bdb3e49bc6573dfd3404.tar.gz emacs-58a622d473112f8ff5b4bdb3e49bc6573dfd3404.tar.bz2 emacs-58a622d473112f8ff5b4bdb3e49bc6573dfd3404.zip |
Make piping to subprocesses more robust on MS-Windows
* src/w32.c (sys_write): Don't write to a pipe more stuff than its
buffer can hold. Don't return -1 if something has been written to
the pipe. Zero out 'errno' before calling '_write', to avoid
returning a stale value. (Bug#22344)
* src/w32proc.c (syms_of_ntproc) <w32-pipe-buffer-size>: New variable.
* src/w32.c (pipe2): Use it to request a user-defined size for the
pipe being created.
* etc/NEWS: Mention 'w32-pipe-buffer-size'.
* doc/emacs/msdos.texi (Windows Processes): Document
'w32-pipe-buffer-size'.
Diffstat (limited to 'lisp/emacs-lisp/re-builder.el')
0 files changed, 0 insertions, 0 deletions