aboutsummaryrefslogtreecommitdiff
path: root/nss/digits_dots.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-07-18 19:03:41 +0000
committerUlrich Drepper <drepper@redhat.com>1999-07-18 19:03:41 +0000
commitda0c6e6adf23838513e8dca63899ca8247ea6ac3 (patch)
tree42b2fb3bcc20e7f3aabf44c3e3a02cfba961ba38 /nss/digits_dots.c
parentae81730fad7e41f2eb348c62a778d10136073791 (diff)
downloadglibc-da0c6e6adf23838513e8dca63899ca8247ea6ac3.tar
glibc-da0c6e6adf23838513e8dca63899ca8247ea6ac3.tar.gz
glibc-da0c6e6adf23838513e8dca63899ca8247ea6ac3.tar.bz2
glibc-da0c6e6adf23838513e8dca63899ca8247ea6ac3.zip
Update.
* nss/digits_dots.c: Set h_errnop if memory allcoation failed.
Diffstat (limited to 'nss/digits_dots.c')
-rw-r--r--nss/digits_dots.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/nss/digits_dots.c b/nss/digits_dots.c
index 28a3397927..306249a347 100644
--- a/nss/digits_dots.c
+++ b/nss/digits_dots.c
@@ -76,6 +76,9 @@
buffer = NULL;
buffer_size = 0;
__set_errno (save);
+# ifdef NEED_H_ERRNO
+ *h_errnop = TRY_AGAIN;
+# endif
result = (struct hostent *) NULL;
goto done;
}