Merge branch 'js/use-sc-open-max' into next
commit8b9ac7c49ab59ef7572f2ffd5ee1337ef3e40ea8
authorJunio C Hamano <gitster@pobox.com>
Tue, 28 Aug 2012 20:55:50 +0000 (28 13:55 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 28 Aug 2012 20:55:50 +0000 (28 13:55 -0700)
tree90e1dcd297cbeb2aff877e940bd05ecd591a432e
parente92bf74f3d1b723d7e435fba3218658d25c291e6
parenta0788266d310dd3f6343c7ee754106784aa1e2af
Merge branch 'js/use-sc-open-max' into next

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