diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2015-02-22 19:07:46 -0800 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2015-02-22 19:08:12 -0800 |
commit | cc0a1a96a5243da277be383995a8b0c109dcaac2 (patch) | |
tree | 5488c92266f98e79375d65b16ccb30468ca81b98 /doc/posix-headers/sys_resource.texi | |
parent | 5220348250cdd7789d74a0d749a9aa1be2631d25 (diff) | |
download | gnulib-cc0a1a96a5243da277be383995a8b0c109dcaac2.tar.gz |
Android doesn't define RLIM_SAVED_*
Portability problem reported by Kevin Cernekee in:
http://lists.gnu.org/archive/html/bug-gnulib/2015-02/msg00122.html
* doc/posix-headers/sys_resource.texi (sys/resource.h):
Mention the portability problem.
* lib/getdtablesize.c (RLIM_SAVED_CUR, RLIM_SAVED_MAX):
Define if not defined.
* m4/dup2.m4 (gl_FUNC_DUP2):
* m4/fcntl.m4 (gl_FUNC_FCNTL):
Likewise.
Diffstat (limited to 'doc/posix-headers/sys_resource.texi')
-rw-r--r-- | doc/posix-headers/sys_resource.texi | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/posix-headers/sys_resource.texi b/doc/posix-headers/sys_resource.texi index afcf3b462d..316423f659 100644 --- a/doc/posix-headers/sys_resource.texi +++ b/doc/posix-headers/sys_resource.texi @@ -18,4 +18,8 @@ FreeBSD 5.0. Portability problems not fixed by Gnulib: @itemize +@item +On some platforms, this header does not define some or all of the +symbolic constants required by POSIX@. For example, Android does not +define @code{RLIM_SAVED_CUR} or @code{RLIM_SAVED_MAX}. @end itemize |