From 7f658b1eb3da99fe475f425ccfe03c619f8240fc Mon Sep 17 00:00:00 2001 From: ljrittle <ljrittle@138bc75d-0d04-0410-961f-82ee72b054a4> Date: Fri, 18 Oct 2002 21:37:53 +0000 Subject: [PATCH] * testsuite/thread/pthread1.cc: Remove needless workaround for FreeBSD 5. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58289 138bc75d-0d04-0410-961f-82ee72b054a4 --- libstdc++-v3/ChangeLog | 3 +++ libstdc++-v3/testsuite/thread/pthread1.cc | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 2b7f234d4160..0cd9e614a43b 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -4,6 +4,9 @@ * config/abi/i386-unknown-freebsd4/baseline_symbols.txt: New file. * config/abi/i386-unknown-freebsd4.7/baseline_symbols.txt: Remove. + * testsuite/thread/pthread1.cc: Remove needless workaround + for FreeBSD 5. + 2002-10-18 Loren J. Rittle <ljrittle@acm.org> Brad Spencer <spencer@infointeractive.com> (provided alternate patch and improvements) diff --git a/libstdc++-v3/testsuite/thread/pthread1.cc b/libstdc++-v3/testsuite/thread/pthread1.cc index 71afefcc758e..eaa634d0bd5e 100644 --- a/libstdc++-v3/testsuite/thread/pthread1.cc +++ b/libstdc++-v3/testsuite/thread/pthread1.cc @@ -124,7 +124,7 @@ main (int argc, char** argv) { pthread_join (prod[i], NULL); pthread_join (cons[i], NULL); -#if defined(__FreeBSD__) +#if defined(__FreeBSD__) && __FreeBSD__ < 5 // These lines are not required by POSIX since a successful // join is suppose to detach as well... pthread_detach (prod[i]); -- GitLab