summaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2015-02-16 21:38:02 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2015-02-16 21:40:49 -0800
commit5e2516d4aa2fabdd800eec7e4862327b3d5c87f2 (patch)
tree019d3c1894dfb65631e6e140f7130964a604facc /ChangeLog
parent7bf9a5ee1c0c16215e6ef06858f5870e86c6d7df (diff)
downloadgnulib-5e2516d4aa2fabdd800eec7e4862327b3d5c87f2.tar.gz
getdtablesize, dup2, fcntl: port to Android
Problem reported by Kevin Cernekee in: http://lists.gnu.org/archive/html/bug-gnulib/2015-02/msg00092.html * doc/glibc-functions/getdtablesize.texi (getdtablesize): Mention that getdtablesize doesn't work on Android. * lib/getdtablesize.c: Use getrlimit substitute only if getdtablesize is declared. This should suffice for Cygwin while not breaking Android. * m4/dup2.m4 (gl_FUNC_DUP2): * m4/fcntl.m4 (gl_FUNC_FCNTL): Prefer sysconf (_SC_OPEN_MAX) to getdtablesize, as the former is standardized but the latter is not, and sysconf works on Android. * m4/getdtablesize.m4 (gl_FUNC_GETDTABLESIZE): Also check that getdtablesize is declared. This removes the need for a special case for Android.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog18
1 files changed, 18 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index b198739dab..5083e95f6b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,21 @@
+2015-02-16 Paul Eggert <eggert@cs.ucla.edu>
+
+ getdtablesize, dup2, fcntl: port to Android
+ Problem reported by Kevin Cernekee in:
+ http://lists.gnu.org/archive/html/bug-gnulib/2015-02/msg00092.html
+ * doc/glibc-functions/getdtablesize.texi (getdtablesize):
+ Mention that getdtablesize doesn't work on Android.
+ * lib/getdtablesize.c: Use getrlimit substitute only if
+ getdtablesize is declared. This should suffice for Cygwin
+ while not breaking Android.
+ * m4/dup2.m4 (gl_FUNC_DUP2):
+ * m4/fcntl.m4 (gl_FUNC_FCNTL):
+ Prefer sysconf (_SC_OPEN_MAX) to getdtablesize, as the former is
+ standardized but the latter is not, and sysconf works on Android.
+ * m4/getdtablesize.m4 (gl_FUNC_GETDTABLESIZE):
+ Also check that getdtablesize is declared.
+ This removes the need for a special case for Android.
+
2015-02-16 Kevin Cernekee <cernekee@google.com>
localename: Implement gl_locale_name_thread_unsafe for Android