Source-Changes archive

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

Re: CVS commit: src/lib/libc/sys



> >Module Name: src
> >Committed By:        itojun
> >Date:                Tue Oct 14 07:08:45 UTC 2003
> >
> >Modified Files:
> >     src/lib/libc/sys: select.2
> >
> >Log Message:
> >note that programs that use rpc(3) cannot bump FD_SETSIZE.
> 
> is this actually true, or is it simply that libc (specifically the
> rpc(3) stuff) cannot be rebuilt with a new FD_SETSIZE without bumping
> the major?
> 
> ie...using a library that has one idea of FD_SETSIZE should be
> perfectly fine ever if i have a different idea of FD_SETSIZE...no?

        if a user program does -DFD_SETSIZE=foo, that program cannot use
        rpc(3), specifically svc_fdset and/or svc_getreqset().

        one can of course build the whole system with bigger default
        FD_SETSIZE.  but if we are to bump FD_SETSIZE in the netbsd source
        tree, that would require a libc shlib major bump due to fd_set exposed
        to the user (/usr/include/rpc/svc.h).

itojun



Home | Main Index | Thread Index | Old Index