[PATCH] Remove compat from DEFAULT_CONFIG lookup strings
Steve Ellcey
sellcey@cavium.com
Tue Aug 22 16:33:00 GMT 2017
On Fri, 2017-08-18 at 22:12 +0000, Joseph Myers wrote:
>Â
> But the impression that NEWS entry gives is that you can useÂ
> --enable-obsolete-nsl to get back the previous semantics.  Does your patchÂ
> change the semantics in the --enable-obsolete-nsl case?
Here is an updated patch that maintains the original semantics and
default settings when --enable-obsolete-nsl is used.
Steve Ellcey
sellcey@cavium.com
2017-08-22  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.
* 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nls.compat.patch
Type: text/x-patch
Size: 4484 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20170822/f82d226d/attachment.bin>
More information about the Libc-alpha
mailing list