From c29defa319b4000f19f84ad008c82d3cd645ffec Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Fri, 11 Oct 2002 07:59:08 +0000 Subject: [PATCH] Don't try calling __pthread_kill_other_threads_np. --- sysdeps/unix/sysv/linux/execve.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/sysdeps/unix/sysv/linux/execve.c b/sysdeps/unix/sysv/linux/execve.c index 8dd177281b..0e0070964e 100644 --- a/sysdeps/unix/sysv/linux/execve.c +++ b/sysdeps/unix/sysv/linux/execve.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1999, 2000 Free Software Foundation, Inc. +/* Copyright (C) 1999, 2000, 2002 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -27,8 +27,6 @@ extern int __syscall_execve (const char *__unbounded file, char *__unbounded const *__unbounded argv, char *__unbounded const *__unbounded envp); -extern void __pthread_kill_other_threads_np (void); -weak_extern (__pthread_kill_other_threads_np) int @@ -37,9 +35,6 @@ __execve (file, argv, envp) char *const argv[]; char *const envp[]; { - /* If this is a threaded application kill all other threads. */ - if (__pthread_kill_other_threads_np) - __pthread_kill_other_threads_np (); #if __BOUNDED_POINTERS__ { char *const *v; -- 2.43.5