[Bug libstdc++/21526] libstdc++-v3 testsuite hangs on cygwin

david dot billinghurst at comalco dot riotinto dot com dot au gcc-bugzilla@gcc.gnu.org
Mon May 16 00:59:00 GMT 2005


------- Additional Comments From david dot billinghurst at comalco dot riotinto dot com dot au  2005-05-16 00:59 -------
Subject:  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.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21526



More information about the Gcc-bugs mailing list