[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 2/3] getdtablesize: Extend RLIMIT_NOFILE fallback case to And
From: |
Kevin Cernekee |
Subject: |
Re: [PATCH 2/3] getdtablesize: Extend RLIMIT_NOFILE fallback case to Android |
Date: |
Wed, 18 Feb 2015 09:11:55 -0800 |
On Tue, Feb 17, 2015 at 6:37 PM, Paul Eggert <address@hidden> wrote:
> Kevin Cernekee wrote:
>
>> On Android, sysconf (_SC_OPEN_MAX) always returns the constant
>> OPEN_MAX (256)
>
>
> Ouch, that sounds like a POSIX conformance bug. I see enh posted an Android
> patch but we should probably fix this in gnulib too. I also noticed a
> porting problem on AIX 7.1 and installed the attached patch. I have the
> sneaking suspicion this will also fix the problem on (unfixed) Android;
> could you give it a try? Thanks.
The changes to the AC_RUN_IFELSE test programs do not have an effect
on Android since we are cross-compiling:
checking whether dup2 works... guessing no
[...]
checking whether fcntl handles F_DUPFD correctly... guessing no
In the current head of tree, lib/getdtablesize.c still calls sysconf()
on Android platforms, causing test-{dup2,getdtablesize,fcntl} to fail
on current released Lollipop/KitKat images.
- [PATCH 0/3] More Android updates for gnulib, Kevin Cernekee, 2015/02/15
- [PATCH 1/3] More changelog fixes, Kevin Cernekee, 2015/02/15
- [PATCH 2/3] getdtablesize: Extend RLIMIT_NOFILE fallback case to Android, Kevin Cernekee, 2015/02/15
- Re: [PATCH 2/3] getdtablesize: Extend RLIMIT_NOFILE fallback case to Android, Paul Eggert, 2015/02/17
- Re: [PATCH 2/3] getdtablesize: Extend RLIMIT_NOFILE fallback case to Android, Kevin Cernekee, 2015/02/17
- Re: [PATCH 2/3] getdtablesize: Extend RLIMIT_NOFILE fallback case to Android, enh, 2015/02/17
- Re: [PATCH 2/3] getdtablesize: Extend RLIMIT_NOFILE fallback case to Android, Paul Eggert, 2015/02/17
- Re: [PATCH 2/3] getdtablesize: Extend RLIMIT_NOFILE fallback case to Android,
Kevin Cernekee <=
- Re: [PATCH 2/3] getdtablesize: Extend RLIMIT_NOFILE fallback case to Android, Paul Eggert, 2015/02/19
- Re: [PATCH 2/3] getdtablesize: Extend RLIMIT_NOFILE fallback case to Android, Kevin Cernekee, 2015/02/19
- Re: [PATCH 2/3] getdtablesize: Extend RLIMIT_NOFILE fallback case to Android, Paul Eggert, 2015/02/20
- Re: [PATCH 2/3] getdtablesize: Extend RLIMIT_NOFILE fallback case to Android, Kevin Cernekee, 2015/02/22
- Re: [PATCH 2/3] getdtablesize: Extend RLIMIT_NOFILE fallback case to Android, Paul Eggert, 2015/02/22
- Re: [PATCH 2/3] getdtablesize: Extend RLIMIT_NOFILE fallback case to Android, Kevin Cernekee, 2015/02/23
- Re: [PATCH 2/3] getdtablesize: Extend RLIMIT_NOFILE fallback case to Android, Paul Eggert, 2015/02/23
- Re: [PATCH 2/3] getdtablesize: Extend RLIMIT_NOFILE fallback case to Android, enh, 2015/02/24
- Re: [PATCH 2/3] getdtablesize: Extend RLIMIT_NOFILE fallback case to Android, enh, 2015/02/23
[PATCH 3/3] localename: Implement gl_locale_name_thread_unsafe() for Android, Kevin Cernekee, 2015/02/15