summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/macroexp.el
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2016-01-12 18:41:58 +0200
committerEli Zaretskii <eliz@gnu.org>2016-01-12 18:41:58 +0200
commit58a622d473112f8ff5b4bdb3e49bc6573dfd3404 (patch)
tree58b618f654cae22d1e5f102cbb48bec56e833d45 /lisp/emacs-lisp/macroexp.el
parent1f6898d0510cd15455f665c0f38451755a374243 (diff)
downloademacs-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/macroexp.el')
0 files changed, 0 insertions, 0 deletions