diff options
author | joseph <joseph@7b3dc134-2b1b-0410-93df-9e9f96275f8d> | 2012-05-26 20:06:44 +0000 |
---|---|---|
committer | joseph <joseph@7b3dc134-2b1b-0410-93df-9e9f96275f8d> | 2012-05-26 20:06:44 +0000 |
commit | a2c69819561df393e300481562d300f12ee5bc69 (patch) | |
tree | 70e6b0581dc1f8f8e88457b2071daba94a4b86b8 /libc | |
parent | d8d5895e420d4976fca22b9bd9e1edc3094ebf30 (diff) |
* nss/nsswitch.c (__nss_database_lookup): Update for last merge.
git-svn-id: svn://svn.eglibc.org/trunk@18747 7b3dc134-2b1b-0410-93df-9e9f96275f8d
Diffstat (limited to 'libc')
-rw-r--r-- | libc/ChangeLog.eglibc | 4 | ||||
-rw-r--r-- | libc/nss/nsswitch.c | 2 |
2 files changed, 5 insertions, 1 deletions
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 <joseph@codesourcery.com> + + * nss/nsswitch.c (__nss_database_lookup): Update for last merge. + 2012-03-28 Joseph Myers <joseph@codesourcery.com> * 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; } } |