diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2016-11-06 22:55:30 -0800 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2016-11-06 22:56:36 -0800 |
commit | b6d9613df83813609ef80da45975e70954d1fb6d (patch) | |
tree | bf05ac8bbd5a91b40fb23a8d84dce66360884211 /etc/tutorials | |
parent | f1d19d1445a8e7d4ee0d13edb8ed99e222603086 (diff) | |
download | emacs-b6d9613df83813609ef80da45975e70954d1fb6d.tar.gz emacs-b6d9613df83813609ef80da45975e70954d1fb6d.tar.bz2 emacs-b6d9613df83813609ef80da45975e70954d1fb6d.zip |
Restore file descriptor limit in subprocesses
Problem reported by Philipp Stephani (Bug#24869).
* src/callproc.c (child_setup) [!DOS_NT]:
Call restore_nofile_limit in the child.
* src/process.c (nofile_limit) [HAVE_SETRLIMIT]: New static var.
(restore_nofile_limit): New function.
(init_process_emacs) [HAVE_SETRLIMIT]: Set the new var.
Diffstat (limited to 'etc/tutorials')
0 files changed, 0 insertions, 0 deletions