This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Remove compat from DEFAULT_CONFIG lookup strings
On Mon, 28 Aug 2017, Steve Ellcey wrote:
> > Does the "nis [NOTFOUND=return] files" default in
> > nsswitch.c:__nss_database_lookup need to change as well?
>
> I think this default is still OK. The other changes I made were to
> remove 'compat' entries from the list of databases to be searched
> if the compat library is not built. I am not sure why we would want to
> change this one. Am I missing something?
Well, libnss_nis isn't built by default either. Is there some reason for
searching nis by default without the relevant library, but not doing so
for compat without the relevant library?
--
Joseph S. Myers
joseph@codesourcery.com