diff options
author | Ulrich Drepper <drepper@redhat.com> | 1999-09-05 00:08:27 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1999-09-05 00:08:27 +0000 |
commit | 4fe53b3aba281d102c3119f34780e5479dd4fe51 (patch) | |
tree | e180c2ad987ac3e29e8ad1236c039c471bfe46a8 /sysdeps/posix | |
parent | 9cb6e8783c61f9d7008e442b348f5f24b8d6a1cb (diff) | |
download | glibc-4fe53b3aba281d102c3119f34780e5479dd4fe51.tar.gz glibc-4fe53b3aba281d102c3119f34780e5479dd4fe51.tar.xz glibc-4fe53b3aba281d102c3119f34780e5479dd4fe51.zip |
Update.
1999-09-04 Ulrich Drepper <drepper@cygnus.com> * sysdeps/unix/sysv/linux/getaddrinfo.c: Little optimization. 1999-09-03 Andreas Schwab <schwab@suse.de> * sysdeps/unix/sysv/linux/syscalls.list: Rename strong name for fork from __syscall_fork to __libc_fork. * posix/Versions: Add __libc_fork and __vfork to version GLIBC_2.1.2.
Diffstat (limited to 'sysdeps/posix')
-rw-r--r-- | sysdeps/posix/getaddrinfo.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sysdeps/posix/getaddrinfo.c b/sysdeps/posix/getaddrinfo.c index cbcb109294..7f3c8aba59 100644 --- a/sysdeps/posix/getaddrinfo.c +++ b/sysdeps/posix/getaddrinfo.c @@ -238,8 +238,7 @@ gaih_inet_serv (const char *servicename, struct gaih_typeproto *tp, return -EAI_MEMORY; \ rc = __gethostbyname2_r (name, _family, &th, tmpbuf, \ tmpbuflen, &h, &herrno); \ - } while ((rc != 0) && \ - (herrno == NETDB_INTERNAL) && (errno == ERANGE)); \ + } while (rc == ERANGE && herrno == NETDB_INTERNAL); \ if ((rc != 0) && (herrno == NETDB_INTERNAL)) \ { \ __set_h_errno (herrno); \ |