This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/21526] Testsuite patch committed
- From: "Billinghurst, David \(CALCRTS\)" <david dot billinghurst at comalco dot riotinto dot com dot au>
- To: <gcc-patches at gcc dot gnu dot org>
- Cc: <gcc-bugzilla at gcc dot gnu dot org>
- Date: Mon, 16 May 2005 10:55:50 +1000
- Subject: [Bug libstdc++/21526] Testsuite patch committed
This fix that Mark Mitchell suggested has been tested on cywin and irix.
Committed to 4.0 and HEAD.
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.
diff -u -r1.56 target-supports.exp
--- lib/target-supports.exp 6 May 2005 17:03:10 -0000 1.56
+++ lib/target-supports.exp 16 May 2005 00:41:59 -0000
@@ -636,15 +636,20 @@
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"]
}
NOTICE
This e-mail and any attachments are private and confidential and may contain privileged information. If you are not an authorised recipient, the copying or distribution of this e-mail and any attachments is prohibited and you must not read, print or act in reliance on this e-mail or attachments.
This notice should not be removed.