aboutsummaryrefslogtreecommitdiff
path: root/linuxthreads/ptfork.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-03-23 22:16:37 +0000
committerUlrich Drepper <drepper@redhat.com>2000-03-23 22:16:37 +0000
commit383052e98ce628ba1d5046ba663a8b70271e3eb8 (patch)
tree46ba6da9cfe81c919d99924591e70407cea55a63 /linuxthreads/ptfork.c
parentc0bc5f7b8fd62dfa566dd3adb91f3a1ee8db6aeb (diff)
downloadglibc-383052e98ce628ba1d5046ba663a8b70271e3eb8.tar
glibc-383052e98ce628ba1d5046ba663a8b70271e3eb8.tar.gz
glibc-383052e98ce628ba1d5046ba663a8b70271e3eb8.tar.bz2
glibc-383052e98ce628ba1d5046ba663a8b70271e3eb8.zip
Update.
2000-03-23 Ulrich Drepper <drepper@redhat.com> * resolv/netdb.h (SCOPE_DELIMITER): New definitions. * inet/netinet/in.h (struct sockaddr_in6): Add sin6_scope_id according to RFC 2553. * sysdeps/posix/getaddrinfo.c: Change to follow latest RFC draft. * inet/getnameinfo.c: Likewise. Patches by YOSHIFUJI Hideaki <yoshfuji@v6.linux.or.jp>.
Diffstat (limited to 'linuxthreads/ptfork.c')
-rw-r--r--linuxthreads/ptfork.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/linuxthreads/ptfork.c b/linuxthreads/ptfork.c
index 1dfa8b6ab7..4cd883fd23 100644
--- a/linuxthreads/ptfork.c
+++ b/linuxthreads/ptfork.c
@@ -89,6 +89,7 @@ pid_t __fork(void)
pid = __libc_fork();
if (pid == 0) {
__pthread_reset_main_thread();
+ __pthread_reset_pthread_once();
__fresetlockfiles();
pthread_call_handlers(child);
} else {