diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2016-09-01 21:15:35 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2016-09-01 21:16:03 -0700 |
commit | a5509099484e0762842bc2c9e914779397b91469 (patch) | |
tree | 1f525c5b2fd175e83fb365e69334073c556f00e4 /lisp/emacs-lisp/bytecomp.el | |
parent | dda2d6a311fd2a7096176e240e4e81b423eaa8e2 (diff) | |
download | emacs-a5509099484e0762842bc2c9e914779397b91469.tar.gz emacs-a5509099484e0762842bc2c9e914779397b91469.tar.bz2 emacs-a5509099484e0762842bc2c9e914779397b91469.zip |
Don’t create fd >= FD_SETSIZE
This avoids a potential crash if too many subprocesses (Bug#24325).
* src/process.c [HAVE_SETRLIMIT]: Include <sys/resource.h>.
(init_process_emacs): If ulimit -n is greater than FD_SETSIZE,
set it to FD_SETSIZE.
Diffstat (limited to 'lisp/emacs-lisp/bytecomp.el')
0 files changed, 0 insertions, 0 deletions