bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: OpenVMS getdtablesize.c


From: Bruno Haible
Subject: Re: OpenVMS getdtablesize.c
Date: Tue, 27 Jun 2017 17:13:03 +0200
User-agent: KMail/5.1.3 (Linux/4.4.0-81-generic; KDE/5.18.0; x86_64; ; )

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 glibc function:
https://www.gnu.org/software/gnulib/manual/html_node/getdtablesize.html

Are you saying that OpenVMS already has the function and that
m4/getdtablesize.m4 guesses wrong about its existence?

> The dtablesize is fixed at the time that the image is run

Sure, no one expects to be able to change the number of available
file descriptors of a running process.

> it is the 
> lesser of the SYSGEN channelcnt setting and the user's fillm quota.

Perfect: you already know how to implement the gnulib replacement for
getdtablesize() on OpenVMS.

Bruno




reply via email to

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