summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/bytecomp.el
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2016-09-01 21:15:35 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2016-09-01 21:16:03 -0700
commita5509099484e0762842bc2c9e914779397b91469 (patch)
tree1f525c5b2fd175e83fb365e69334073c556f00e4 /lisp/emacs-lisp/bytecomp.el
parentdda2d6a311fd2a7096176e240e4e81b423eaa8e2 (diff)
downloademacs-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