Update.
* nss/digits_dots.c: Set h_errnop if memory allcoation failed.
This commit is contained in:
parent
ae81730fad
commit
da0c6e6adf
@ -1,5 +1,7 @@
|
|||||||
1999-07-18 Ulrich Drepper <drepper@cygnus.com>
|
1999-07-18 Ulrich Drepper <drepper@cygnus.com>
|
||||||
|
|
||||||
|
* nss/digits_dots.c: Set h_errnop if memory allcoation failed.
|
||||||
|
|
||||||
* inet/gethstbyad_r.c (PREPROCESS): Test for unspecified IPv6 address
|
* inet/gethstbyad_r.c (PREPROCESS): Test for unspecified IPv6 address
|
||||||
and return an error in this case.
|
and return an error in this case.
|
||||||
* nss/getXXbyYY_r.c: Allow PREPROCESS be defined and use it if
|
* nss/getXXbyYY_r.c: Allow PREPROCESS be defined and use it if
|
||||||
|
@ -76,6 +76,9 @@
|
|||||||
buffer = NULL;
|
buffer = NULL;
|
||||||
buffer_size = 0;
|
buffer_size = 0;
|
||||||
__set_errno (save);
|
__set_errno (save);
|
||||||
|
# ifdef NEED_H_ERRNO
|
||||||
|
*h_errnop = TRY_AGAIN;
|
||||||
|
# endif
|
||||||
result = (struct hostent *) NULL;
|
result = (struct hostent *) NULL;
|
||||||
goto done;
|
goto done;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user