mirror of
https://sourceware.org/git/glibc.git
synced 2025-01-03 00:10:10 +00:00
* nss/nsswitch.c (__nss_next): Don't use __FUNCTION__ as literal.
* grp/initgroups.c (internal_getgrouplist): Likewise.
This commit is contained in:
parent
ca18306b75
commit
79dbd98195
@ -1,5 +1,8 @@
|
||||
2001-12-16 Roland McGrath <roland@frob.com>
|
||||
|
||||
* nss/nsswitch.c (__nss_next): Don't use __FUNCTION__ as literal.
|
||||
* grp/initgroups.c (internal_getgrouplist): Likewise.
|
||||
|
||||
* hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add `break' after
|
||||
`default:' to silence new GCC warning.
|
||||
Rewrite cast of lvalue to silence new GCC warning.
|
||||
|
@ -176,7 +176,7 @@ internal_getgrouplist (const char *user, gid_t group, long int *size,
|
||||
|
||||
/* This is really only for debugging. */
|
||||
if (NSS_STATUS_TRYAGAIN > status || status > NSS_STATUS_RETURN)
|
||||
__libc_fatal ("illegal status in " __FUNCTION__);
|
||||
__libc_fatal ("illegal status in internal_getgrouplist");
|
||||
|
||||
if (status != NSS_STATUS_SUCCESS
|
||||
&& nss_next_action (nip, status) == NSS_ACTION_RETURN)
|
||||
|
@ -178,7 +178,7 @@ __nss_next (service_user **ni, const char *fct_name, void **fctp, int status,
|
||||
{
|
||||
/* This is really only for debugging. */
|
||||
if (NSS_STATUS_TRYAGAIN > status || status > NSS_STATUS_RETURN)
|
||||
__libc_fatal ("illegal status in " __FUNCTION__);
|
||||
__libc_fatal ("illegal status in __nss_next");
|
||||
|
||||
if (nss_next_action (*ni, status) == NSS_ACTION_RETURN)
|
||||
return 1;
|
||||
|
Loading…
Reference in New Issue
Block a user