------- 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 <[EMAIL PROTECTED]>

        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

Reply via email to