From 5a6be855cbaeced80b1c282ac539de330815b71e Mon Sep 17 00:00:00 2001 From: "Loren J. Rittle" Date: Fri, 18 Oct 2002 21:37:53 +0000 Subject: [PATCH] pthread1.cc: Remove needless workaround for FreeBSD 5. * testsuite/thread/pthread1.cc: Remove needless workaround for FreeBSD 5. From-SVN: r58289 --- 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 2b7f234d416..0cd9e614a43 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 Brad Spencer (provided alternate patch and improvements) diff --git a/libstdc++-v3/testsuite/thread/pthread1.cc b/libstdc++-v3/testsuite/thread/pthread1.cc index 71afefcc758..eaa634d0bd5 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]);