diff options
Diffstat (limited to 'gcc')
| -rw-r--r-- | gcc/testsuite/ChangeLog | 7 | ||||
| -rw-r--r-- | gcc/testsuite/lib/target-supports.exp | 9 |
2 files changed, 14 insertions, 2 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 9f9458ebb30..4e4063705cd 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -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. diff --git a/gcc/testsuite/lib/target-supports.exp b/gcc/testsuite/lib/target-supports.exp index 90139ff8395..9306790530d 100644 --- a/gcc/testsuite/lib/target-supports.exp +++ b/gcc/testsuite/lib/target-supports.exp @@ -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"] } |

