From a2c69819561df393e300481562d300f12ee5bc69 Mon Sep 17 00:00:00 2001 From: joseph Date: Sat, 26 May 2012 20:06:44 +0000 Subject: * nss/nsswitch.c (__nss_database_lookup): Update for last merge. git-svn-id: svn://svn.eglibc.org/trunk@18747 7b3dc134-2b1b-0410-93df-9e9f96275f8d --- libc/ChangeLog.eglibc | 4 ++++ libc/nss/nsswitch.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'libc') diff --git a/libc/ChangeLog.eglibc b/libc/ChangeLog.eglibc index 325da43a9..b7e6520f2 100644 --- a/libc/ChangeLog.eglibc +++ b/libc/ChangeLog.eglibc @@ -1,3 +1,7 @@ +2012-05-26 Joseph Myers + + * nss/nsswitch.c (__nss_database_lookup): Update for last merge. + 2012-03-28 Joseph Myers * posix/cross-getconf.c (cross_getconf): Update after last merge. diff --git a/libc/nss/nsswitch.c b/libc/nss/nsswitch.c index 0614b526a..853eb28f0 100644 --- a/libc/nss/nsswitch.c +++ b/libc/nss/nsswitch.c @@ -192,7 +192,7 @@ __nss_database_lookup (const char *database, const char *alternate_name, { entry->next = defconfig_entries; entry->service = *ni; - entry->name[0] = '\0'; + entry->name = ""; defconfig_entries = entry; } } -- cgit v1.2.3