aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog2
-rw-r--r--nss/digits_dots.c3
2 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index ade1935468..ff50070c56 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
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
and return an error in this case.
* nss/getXXbyYY_r.c: Allow PREPROCESS be defined and use it if
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;
}