]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
(__fork): Call __pthread_reset_pthread_once.
authorUlrich Drepper <drepper@redhat.com>
Thu, 23 Mar 2000 22:20:04 +0000 (22:20 +0000)
committerUlrich Drepper <drepper@redhat.com>
Thu, 23 Mar 2000 22:20:04 +0000 (22:20 +0000)
linuxthreads/ptfork.c

index 2d7ae505b7ee035978e004c2faedbe2b0f89c08c..1ebeba787fd78d6df428639809820be2e80b8ece 100644 (file)
@@ -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 {