This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: deprecated sunrpc and rpc/netdb.h


On 16 Mar 2016 11:41, Andreas Schwab wrote:
> Thorsten Kukuk <kukuk@suse.de> writes:
> > That's the real problem. glibc is installing a dummy rpc/netdb.h.
> > This breaks nearly every application using rpc out there and needs
> > code changes. Since glibc installs a dummy rpc/netdb.h, it's not
> > even possible for tirpc, to provide their own version.
> >
> > If there is a decission, that the getrpcent family will stay
> > in glibc because of NSS, we should change the glibc code to
> > not deprecate this functions and to not install a dummy
> > netdb.h.
> 
> IMHO the <rpc/netdb.h> interface should stay in glibc.  It is
> independent from the rest of the RPC interface and has nothing to do
> with sunrpc vs. tirpc.

netdb.h provides funcs to map RPC names<->ports and is only useful
to rpc related code.  if we purge sunrpc code from glibc (which we
want), then purging the netdb code too makes sense.
-mike

Attachment: signature.asc
Description: Digital signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]