summaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-09-05 00:08:27 +0000
committerUlrich Drepper <drepper@redhat.com>1999-09-05 00:08:27 +0000
commit4fe53b3aba281d102c3119f34780e5479dd4fe51 (patch)
treee180c2ad987ac3e29e8ad1236c039c471bfe46a8 /sysdeps
parent9cb6e8783c61f9d7008e442b348f5f24b8d6a1cb (diff)
downloadglibc-4fe53b3aba281d102c3119f34780e5479dd4fe51.tar.gz
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')
-rw-r--r--sysdeps/posix/getaddrinfo.c3
-rw-r--r--sysdeps/unix/sysv/linux/syscalls.list2
2 files changed, 2 insertions, 3 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); \
diff --git a/sysdeps/unix/sysv/linux/syscalls.list b/sysdeps/unix/sysv/linux/syscalls.list
index 25a8ff168e..6215973fc3 100644
--- a/sysdeps/unix/sysv/linux/syscalls.list
+++ b/sysdeps/unix/sysv/linux/syscalls.list
@@ -11,7 +11,7 @@ create_module EXTRA create_module 3 create_module
delete_module EXTRA delete_module 3 delete_module
fdatasync - fdatasync 1 fdatasync
flock - flock 2 __flock flock
-fork - fork 0 __syscall_fork __fork fork
+fork - fork 0 __libc_fork __fork fork
get_kernel_syms EXTRA get_kernel_syms 1 get_kernel_syms
getegid - getegid 0 __getegid getegid
geteuid - geteuid 0 __geteuid geteuid