1
0
mirror of https://git.savannah.gnu.org/git/gnulib.git synced 2025-08-17 12:41:05 +03:00

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
This commit is contained in:
Paul Eggert
2015-02-20 10:53:10 -08:00
parent d42461c38d
commit 62667e387b
3 changed files with 27 additions and 21 deletions

View File

@@ -17,7 +17,7 @@ Android LP32.
@item
This function does not represent the true @code{RLIMIT_NOFILE} soft
limit on some platforms:
Cygwin 1.7.25.
Android LP32, Cygwin 1.7.25.
@end itemize
Portability problems not fixed by Gnulib: