Update.
authorUlrich Drepper <drepper@redhat.com>
Sun, 18 Jul 1999 19:03:41 +0000 (19:03 +0000)
committerUlrich Drepper <drepper@redhat.com>
Sun, 18 Jul 1999 19:03:41 +0000 (19:03 +0000)
* nss/digits_dots.c: Set h_errnop if memory allcoation failed.

ChangeLog
nss/digits_dots.c

index ade1935..ff50070 100644 (file)
--- 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
index 28a3397..306249a 100644 (file)
@@ -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;
            }