Movatterモバイル変換
[0]ホーム
This is the mail archive of thelibc-alpha@sourceware.orgmailing list for theglibc project.
Re: [PATCH] Remove compat from DEFAULT_CONFIG lookup strings
On Aug 29 2017, Steve Ellcey <sellcey@cavium.com> wrote:> diff --git a/nss/nsswitch.c b/nss/nsswitch.c> index 834bef6..3de085e 100644> --- a/nss/nsswitch.c> +++ b/nss/nsswitch.c> @@ -40,6 +40,19 @@> #include "nsswitch.h"> #include "../nscd/nscd_proto.h"> #include <sysdep.h>> +#include <config.h>> +> +#ifdef LINK_OBSOLETE_NSL> +# define DEFAULT_CONFIG "compat [NOTFOUND=return] files"> +#else> +# define DEFAULT_CONFIG "files"> +#endif> +> +#ifdef LINK_OBSOLETE_RPC> +# define DEFAULT_DEFCONFIG "nis [NOTFOUND=return] files"> +#else> +# define DEFAULT_DEFCONFIG "files"> +#endifnss_nis is part of obsolete-nsl, not obsolete-rpc.Andreas.-- Andreas Schwab, SUSE Labs, schwab@suse.deGPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7"And now for something completely different."
[8]ページ先頭