Merge branch 'js/use-sc-open-max'
authorJunio C Hamano <gitster@pobox.com>
Mon, 3 Sep 2012 22:54:41 +0000 (15:54 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 3 Sep 2012 22:54:42 +0000 (15:54 -0700)
Introduce get_max_fd_limit() to absorb platforms that do not have
getrlimit(RLIMIT_NOFILE) and/or sysconf(_SC_OPEN_MAX).

* js/use-sc-open-max:
sha1_file.c: introduce get_max_fd_limit() helper

Trivial merge