]> git.eshelyaron.com Git - emacs.git/commit
Limit RLIMIT_NOFILE to FD_SETSIZE on macOS
authorYAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
Wed, 15 Apr 2020 08:04:21 +0000 (10:04 +0200)
committerRobert Pluim <rpluim@gmail.com>
Wed, 15 Apr 2020 09:55:16 +0000 (11:55 +0200)
commitd87a4d1f4e1a84b2a527ebe5a04516f47d4717ea
tree03d8c26affb65155417f52c1de0b34209ce0ba13
parente5ca8e5e73acbe9147203d1365365626fc35441e
Limit RLIMIT_NOFILE to FD_SETSIZE on macOS

* src/nsterm.m ([EmacsApp applicationDidFinishLaunching:]): Call
CoreFoundation functions that increase RLIMIT_NOFILE behind our back
during startup, and then set RLIMIT_NOFILE back to FD_SETSIZE to avoid
crashes in setup_process_coding_system  (Bug#39164).
src/nsterm.m