about summary refs log tree commit diff
path: root/linuxthreads/ptfork.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-06-07 23:43:59 +0000
committerUlrich Drepper <drepper@redhat.com>2000-06-07 23:43:59 +0000
commitdc3b5786d2ec208fab58a0297226fce064ceda28 (patch)
treed1dba56ab45fb5ab7a2cd5a76b80dc85e5542c98 /linuxthreads/ptfork.c
parent3fc9ca4e389ff1606a4883d50401eaa1a777a07e (diff)
downloadglibc-dc3b5786d2ec208fab58a0297226fce064ceda28.tar.gz
glibc-dc3b5786d2ec208fab58a0297226fce064ceda28.tar.xz
glibc-dc3b5786d2ec208fab58a0297226fce064ceda28.zip
Update.
2000-06-07  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/unix/sysv/linux/i386/dl-procinfo.h (x86_cap_flags):
	Update.
Diffstat (limited to 'linuxthreads/ptfork.c')
-rw-r--r--linuxthreads/ptfork.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/linuxthreads/ptfork.c b/linuxthreads/ptfork.c
index 440d66c4a3..deb347fe29 100644
--- a/linuxthreads/ptfork.c
+++ b/linuxthreads/ptfork.c
@@ -83,6 +83,7 @@ pid_t __fork(void)
 
   pthread_call_handlers(pthread_atfork_prepare);
   __pthread_once_fork_prepare();
+  __flockfilelist();
 
   pid = __libc_fork();
 
@@ -95,6 +96,7 @@ pid_t __fork(void)
 
     pthread_mutex_init(&pthread_atfork_lock, NULL);
   } else {
+    __funlockfilelist();
     __pthread_once_fork_parent();
     pthread_call_handlers(pthread_atfork_parent);