]> Savannah Git Hosting - gnulib.git/commit
getdtablesize: port better for Android
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 20 Feb 2015 18:53:10 +0000 (10:53 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 20 Feb 2015 18:54:03 +0000 (10:54 -0800)
commit62667e387b24d413843e97860ab993b05d77c8cc
treea0535b9711ef8c284ada958556e0d99323d2c9e6
parentd42461c38d239087e6579ac357b3119b32dbfe2e
getdtablesize: port better for Android

Problem reported by Kevin Cernekee in:
http://lists.gnu.org/archive/html/bug-gnulib/2015-02/msg00112.html
* doc/glibc-functions/getdtablesize.texi (getdtablesize): Mention bug.
* lib/getdtablesize.c (getdtablesize): Don't fall back on _SC_OPEN_MAX.
Instead, just use getrlimit, taking care to avoid Cygwin bug.

dup2, fcntl: cross-compile better for Android
ChangeLog
doc/glibc-functions/getdtablesize.texi
lib/getdtablesize.c