summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbillingd <billingd@138bc75d-0d04-0410-961f-82ee72b054a4>2005-05-16 00:51:38 +0000
committerbillingd <billingd@138bc75d-0d04-0410-961f-82ee72b054a4>2005-05-16 00:51:38 +0000
commite3feb2af3138cba10396fab975f553e986304d08 (patch)
tree051a01e0cec68b3d099ca0a8c8cf6f12cda0773b
parentb1327a1622234fd350ccf821f921392ade5bc1b7 (diff)
downloadppe42-gcc-e3feb2af3138cba10396fab975f553e986304d08.tar.gz
ppe42-gcc-e3feb2af3138cba10396fab975f553e986304d08.zip
2005-05-16 David Billinghurst <David.Billinghurst@riotinto.com>
PR libstdc++/21526 * lib/target-supports.exp (check_mkfifo_available): Return 0 for cygwin as mkfifo support incomplete on platform. Fix typos in comments. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99757 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/testsuite/ChangeLog7
-rw-r--r--gcc/testsuite/lib/target-supports.exp9
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 <David.Billinghurst@riotinto.com>
+
+ 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 <mark@codesourcery.com>
* 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"]
}
OpenPOWER on IntegriCloud