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: [PATCH] Remove compat from DEFAULT_CONFIG lookup strings


Ping.  Any other comments on the last version of this patch?
Does it look OK to check in?

Steve Ellcey
sellcey@cavium.com

On Thu, 2017-08-31 at 08:24 -0700, Steve Ellcey wrote:
> On Thu, 2017-08-31 at 09:20 +0200, Andreas Schwab wrote:
> > 
> >  
> > > 
> > > +#ifdef LINK_OBSOLETE_RPC
> > > +# define DEFAULT_DEFCONFIG "nis [NOTFOUND=return] files"
> > > +#else
> > > +# define DEFAULT_DEFCONFIG "files"
> > > +#endif
> > nss_nis is part of obsolete-nsl, not obsolete-rpc.
> > 
> > Andreas.
> Yes it is.  Here is an updated patch with that change.
> 
> Steve Ellcey
> sellcey@cavium.com
> 
> 2017-08-31  Steve Ellcey  <sellcey@cavium.com>
> 
> 	* grp/initgroups.c: Include config.h.
> 	(DEFAULT_CONFIG): New macro.
> 	(internal_getgrouplist): Use DEFAULT_CONFIG.
> 	* nscd/initgrcache.c (addinitgroupsX): Likewise.
> 	* nss/nsswitch.c (__nss_disable_nscd): Likewise.
> 	(DEFAULT_DEFCONFIG): New macro.
> 	(__nss_database_lookup): Use DEFAULT_DEFCONFIG.
> 	* nss/grp-lookup.c: Include config.h
> 	(DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
> 	* nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
> 	* nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
> 	* manual/nss.texi: Update default values section.
> 


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