|
From: | Paul Eggert |
Subject: | Re: [PATCH 2/3] getdtablesize: Extend RLIMIT_NOFILE fallback case to Android |
Date: | Fri, 20 Feb 2015 11:00:07 -0800 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 |
Kevin Cernekee wrote:
However, I don't see how any of the m4 changes address the problem that is causing the test cases to fail: lib/getdtablesize.c still wants to rely on sysconf(_SC_OPEN_MAX) on Android, and that call just blindly returns 256 on all released versions of the OS. This is why my earlier submission changed it to use getrlimit() instead.
Thanks for explaining. How about if we go even further than that patch, and avoid the use of _SC_OPEN_MAX everywhere? I applied the attached two patches; I think only the second one matters to you. Do they fix the problem?
0001-poll-fixes-for-large-fds.patch
Description: Text Data
0002-getdtablesize-port-better-for-Android.patch
Description: Text Data
[Prev in Thread] | Current Thread | [Next in Thread] |