]> Savannah Git Hosting - gnulib.git/commit
getdtablesize: fall back on sysconf (_SC_OPEN_MAX)
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 8 Aug 2014 01:04:32 +0000 (18:04 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 8 Aug 2014 01:05:03 +0000 (18:05 -0700)
commitc31669cc30198aa72efc8cb86929067ca9f6eb53
treea609d99fa887ad2afd4d567d918bdd3d0bbe18dd
parente8e10012c00e6e92496f11289a6e1ffc5503db77
getdtablesize: fall back on sysconf (_SC_OPEN_MAX)

Problem reported by Jonas 'Sortie' Termansen in:
http://lists.gnu.org/archive/html/bug-gnulib/2014-08/msg00023.html
* lib/getdtablesize.c (getdtablesize) [_SC_OPEN_MAX]:
Implement via sysconf for platforms that lack getdtablesize.
ChangeLog
lib/getdtablesize.c