Commit cea02b6e by David Billinghurst Committed by David Billinghurst

re PR libstdc++/21526 (libstdc++-v3 testsuite hangs on cygwin)

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
parent 687d386c
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> 2005-05-15 Mark Mitchell <mark@codesourcery.com>
* lib/compat.exp (compat-execute): Do not use regsub unsafely. * lib/compat.exp (compat-execute): Do not use regsub unsafely.
......
...@@ -636,15 +636,20 @@ proc check_function_available { function } { ...@@ -636,15 +636,20 @@ proc check_function_available { function } {
eval return \$$var 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 {} { proc check_fork_available {} {
return [check_function_available "fork"] 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 {} { proc check_mkfifo_available {} {
if {[istarget *-*-cygwin*]} {
# Cygwin has mkfifo, but support is incomplete.
return 0
}
return [check_function_available "mkfifo"] return [check_function_available "mkfifo"]
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment