summaryrefslogtreecommitdiff
path: root/lisp/erc
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2012-11-28 14:33:35 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2012-11-28 14:33:35 -0800
commit60aeceb8c41fffee197d43e7eae2b46d9e3fcc74 (patch)
treee29f8adf206ac107b41ea6769d17589381da78fe /lisp/erc
parente7c8fcc44eff6dbc6ccb6ebc7f6389233ee516ab (diff)
downloademacs-60aeceb8c41fffee197d43e7eae2b46d9e3fcc74.tar.gz
* callproc.c (Fcall_process): Fix vfork portability problems.
Do not assume that fd[0], count, filefd, and save_environ survive vfork. Fix bug whereby wrong errno value could be reported for pipe failure. Some minor cleanups, too, as follows. Move buf and bufsize to the context where they're needed. Change new_argv to be of type char **, as this is more convenient and avoids casts. (CALLPROC_BUFFER_SIZE_MIN, CALLPROC_BUFFER_SIZE_MAX): Now local constants, not macros.
Diffstat (limited to 'lisp/erc')
0 files changed, 0 insertions, 0 deletions