re PR libstdc++/21526 (libstdc++-v3 testsuite hangs on cygwin)
authorDavid Billinghurst <David.Billinghurst@riotinto.com>
Mon, 16 May 2005 00:51:38 +0000 (00:51 +0000)
committerDavid Billinghurst <billingd@gcc.gnu.org>
Mon, 16 May 2005 00:51:38 +0000 (00:51 +0000)
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.

From-SVN: r99757

gcc/testsuite/ChangeLog
gcc/testsuite/lib/target-supports.exp

index 9f9458ebb30f7c54856004d2fd934aa9abc971d6..4e4063705cdec2b22ebbfca10463c7451affec8f 100644 (file)
@@ -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.
index 90139ff8395ec736b427c1d57e99b7649945efd1..9306790530dfd43b3c3f6366dc3a921a8653ff5a 100644 (file)
@@ -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"]
 }