I ran a test and it returned 65534.

On Fri, Dec 9, 2011 at 6:03 AM, Werner Koch via BTS <gnupg@bugs.g10code.com> wrote:

Werner Koch <wk@gnupg.org> added the comment:

We need to look into Pth to find a portable way for finding the used values for
--with=fdsetsize and use that as an upper limit.

Do you happen to know what sycconf (_SC_OPEN_MAX) returns on AIX?  The current
code only uses sysconf if getrlimit failed.  This seems to be the wrong
approach; I think using the minimum of values is better.

__________________________________________
g10 Code's BTS <gnupg@bugs.g10code.com>
<https://bugs.g10code.com/gnupg/issue1382>
__________________________________________