From cea02b6e7ee16a7f4e568dc63c3f8b27144a5a13 Mon Sep 17 00:00:00 2001 From: David Billinghurst Date: Mon, 16 May 2005 00:51:38 +0000 Subject: [PATCH] re PR libstdc++/21526 (libstdc++-v3 testsuite hangs on cygwin) 2005-05-16 David Billinghurst PR libstdc++/21526 * lib/target-supports.exp (check_mkfifo_available): Return 0 for cygwin as mkfifo support incomplete on platform. Fix typos in comments. From-SVN: r99757 --- gcc/testsuite/ChangeLog | 7 +++++++ gcc/testsuite/lib/target-supports.exp | 9 +++++++-- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 9f9458ebb30..4e4063705cd 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,10 @@ +2005-05-16 David Billinghurst + + PR libstdc++/21526 + * lib/target-supports.exp (check_mkfifo_available): + Return 0 for cygwin as mkfifo support incomplete on platform. + Fix typos in comments. + 2005-05-15 Mark Mitchell * lib/compat.exp (compat-execute): Do not use regsub unsafely. diff --git a/gcc/testsuite/lib/target-supports.exp b/gcc/testsuite/lib/target-supports.exp index 90139ff8395..9306790530d 100644 --- a/gcc/testsuite/lib/target-supports.exp +++ b/gcc/testsuite/lib/target-supports.exp @@ -636,15 +636,20 @@ proc check_function_available { function } { eval return \$$var } -# Returns ture iff "fork" is available on the target system. +# Returns true iff "fork" is available on the target system. proc check_fork_available {} { return [check_function_available "fork"] } -# Returns ture iff "mkfifo" is available on the target system. +# Returns true iff "mkfifo" is available on the target system. proc check_mkfifo_available {} { + if {[istarget *-*-cygwin*]} { + # Cygwin has mkfifo, but support is incomplete. + return 0 + } + return [check_function_available "mkfifo"] } -- 2.30.2