This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: deprecated sunrpc and rpc/netdb.h
- From: Andreas Schwab <schwab at suse dot de>
- To: Thorsten Kukuk <kukuk at suse dot de>
- Cc: libc-alpha at sourceware dot org
- Date: Wed, 16 Mar 2016 11:41:32 +0100
- Subject: Re: deprecated sunrpc and rpc/netdb.h
- Authentication-results: sourceware.org; auth=none
- References: <20160316100021 dot GA8341 at suse dot de>
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.
Andreas.
--
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."