mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-22 10:50:07 +00:00
Update.
* nscd/nscd_getgr_r.c (nscd_getgr_r): Add missing initialization of return value. * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
This commit is contained in:
parent
c706ad8896
commit
16aac66378
@ -1,5 +1,9 @@
|
||||
2004-03-01 Ulrich Drepper <drepper@redhat.com>
|
||||
|
||||
* nscd/nscd_getgr_r.c (nscd_getgr_r): Add missing initialization
|
||||
of return value.
|
||||
* nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
|
||||
|
||||
* sysdeps/unix/sysv/linux/kernel-features.h: Add support for
|
||||
__ASSUME_GETDENTS32_D_TYPE.
|
||||
* sysdeps/unix/sysv/linux/getdents.c: For 2.6.4+ kernels use
|
||||
|
@ -81,6 +81,9 @@ nscd_getgr_r (const char *key, size_t keylen, request_type type,
|
||||
return -1;
|
||||
}
|
||||
|
||||
/* No value found so far. */
|
||||
*result = NULL;
|
||||
|
||||
req.version = NSCD_VERSION;
|
||||
req.type = type;
|
||||
req.key_len = keylen;
|
||||
|
@ -135,6 +135,9 @@ nscd_gethst_r (const char *key, size_t keylen, request_type type,
|
||||
return -1;
|
||||
}
|
||||
|
||||
/* No value found so far. */
|
||||
*result = NULL;
|
||||
|
||||
req.version = NSCD_VERSION;
|
||||
req.type = type;
|
||||
req.key_len = keylen;
|
||||
|
Loading…
Reference in New Issue
Block a user