John E. Malmberg wrote:
> > [1] http://pubs.opengroup.org/onlinepubs/9699919799/functions/getrlimit.html
> According to that link, a system is not required to fail a request for a
> file descriptor to be created higher than RLIMIT_NOFILE.
Not true. [1] refers to [2], and [2] as well as [3] say th
On 6/28/2017 3:56 PM, Bruno Haible wrote:
John E. Malmberg wrote:
OpenVMS has the function. Configure detects it exists, but the test for
it working is failing.
...
The OpenVMS getdtablesize() is returning the maximum number of open
files that a process can have.
It is not returning the highes
Bruno Haible wrote:
If I have a replacement getdtablesize() return 65535, that could cause
programs to assume that they could actually open that many descriptors.
This is only a theoretical risk. I know of no programs that are that
aggressive.
Although GNU 'sort' does something like that, it
John E. Malmberg wrote:
> OpenVMS has the function. Configure detects it exists, but the test for
> it working is failing.
> ...
> The OpenVMS getdtablesize() is returning the maximum number of open
> files that a process can have.
>
> It is not returning the highest file descriptor + 1 that ca
On 6/27/2017 10:13 AM, Bruno Haible wrote:
John E. Malmberg wrote:
The getdtablesize.c module will not compile on OpenVMS and is really not
needed.
...
Is there someway for configure to be changed to not set the macros
causing it to be built when the platform is OpenVMS?
gnulib builds the modu
John E. Malmberg wrote:
> The getdtablesize.c module will not compile on OpenVMS and is really not
> needed.
> ...
> Is there someway for configure to be changed to not set the macros
> causing it to be built when the platform is OpenVMS?
gnulib builds the module 'getdtablesize' because it's a g
Hello,
The getdtablesize.c module will not compile on OpenVMS and is really not
needed.
The way that the an OpenVMS getrlimit() would be most likely implemented
to return the RLIMIT_NOFILE is to call the system supplied getdtablesize().
Is there someway for configure to be changed to not se