bug-gnulib
[Top][All Lists]
Advanced

[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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]