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 15:33, Thorsten Kukuk wrote:
> On Wed, Mar 16, Mike Frysinger wrote:
> > 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.
> 
> Correct, but how do you want to handle NSS?
> There is a "rpc" entry in /etc/nsswitch.conf and it doesn't
> make much sense to copy the whole NSS code into tirpc and
> similar libraries.

drop it from glibc too and make it an ignored keyword.  whether tirpc
wants to support that indirection is up to that project.

> And how do you want to solve the current problem of 
> source code breakage with the dummy rpc/netdb.h?

i'm not familiar with the details you're referring to.  if glibc is
built with --disable-obsolete-rpc, then it shouldn't install this
header at all.
-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]