Re: OpenVMS getdtablesize.c

2017-06-28 Thread Paul Eggert
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

Re: OpenVMS getdtablesize.c

2017-06-28 Thread Bruno Haible
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