diff options
author | Junio C Hamano <gitster@pobox.com> | 2014-01-10 10:32:28 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-01-10 10:32:28 -0800 |
commit | c4bccea2d52dd59e0e6200cebba3df2dfcf593ea (patch) | |
tree | 4cce819b682f7b058380e13ff67f59867ffdbf09 /contrib/emacs | |
parent | Merge branch 'rt/bfg-ad-in-filter-branch-doc' (diff) | |
parent | get_max_fd_limit(): fall back to OPEN_MAX upon getrlimit/sysconf failure (diff) | |
download | tgif-c4bccea2d52dd59e0e6200cebba3df2dfcf593ea.tar.xz |
Merge branch 'jh/rlimit-nofile-fallback'
When we figure out how many file descriptors to allocate for
keeping packfiles open, a system with non-working getrlimit() could
cause us to die(), but because we make this call only to get a
rough estimate of how many is available and we do not even attempt
to use up all file descriptors available ourselves, it is nicer to
fall back to a reasonable low value rather than dying.
* jh/rlimit-nofile-fallback:
get_max_fd_limit(): fall back to OPEN_MAX upon getrlimit/sysconf failure
Diffstat (limited to 'contrib/emacs')
0 files changed, 0 insertions, 0 deletions