mirror of
https://sourceware.org/git/glibc.git
synced 2025-01-03 16:21:06 +00:00
2012-03-23 Jeff Law <law@redhat.com>
* nss/getnssent.c (__nss_getent): Fix typo.
This commit is contained in:
parent
4c42a0c1d5
commit
6a9b9c02fa
@ -1,3 +1,7 @@
|
|||||||
|
2012-03-23 Jeff Law <law@redhat.com>
|
||||||
|
|
||||||
|
* nss/getnssent.c (__nss_getent): Fix typo.
|
||||||
|
|
||||||
2012-03-23 David S. Miller <davem@davemloft.net>
|
2012-03-23 David S. Miller <davem@davemloft.net>
|
||||||
|
|
||||||
* sysdeps/sparc/fpu/libm-test-ulps: Update.
|
* sysdeps/sparc/fpu/libm-test-ulps: Update.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 2000, 2004 Free Software Foundation, Inc.
|
/* Copyright (C) 2000, 2004, 2012 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
@ -32,7 +32,7 @@ __nss_getent (getent_r_function func, void **resbuf, char **buffer,
|
|||||||
*buffer = malloc (*buffer_size);
|
*buffer = malloc (*buffer_size);
|
||||||
}
|
}
|
||||||
|
|
||||||
while (buffer != NULL
|
while (*buffer != NULL
|
||||||
&& func (resbuf, *buffer, *buffer_size, &result, h_errnop) == ERANGE
|
&& func (resbuf, *buffer, *buffer_size, &result, h_errnop) == ERANGE
|
||||||
&& (h_errnop == NULL || *h_errnop == NETDB_INTERNAL))
|
&& (h_errnop == NULL || *h_errnop == NETDB_INTERNAL))
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user