diff options
author | hp <hp@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-04-20 10:59:26 +0000 |
---|---|---|
committer | hp <hp@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-04-20 10:59:26 +0000 |
commit | 643e4a19cbfad20c029d4b70092614377e5ba1e4 (patch) | |
tree | 7c2c3fc2feb21e192f90e8a878f0ce705b72bb23 /libffi | |
parent | d4e8904e5c96cccfee03a5c438e84499e5f59226 (diff) | |
download | gcc-643e4a19cbfad20c029d4b70092614377e5ba1e4.tar.gz |
* testsuite/lib/libffi-dg.exp (libffi-dg-test-1): In regsub use,
have Tcl8.3-compatible intermediate variable.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98453 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libffi')
-rw-r--r-- | libffi/ChangeLog | 5 | ||||
-rw-r--r-- | libffi/testsuite/lib/libffi-dg.exp | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/libffi/ChangeLog b/libffi/ChangeLog index c234ddea206..0f77eca8d6d 100644 --- a/libffi/ChangeLog +++ b/libffi/ChangeLog @@ -1,3 +1,8 @@ +2005-04-20 Hans-Peter Nilsson <hp@axis.com> + + * testsuite/lib/libffi-dg.exp (libffi-dg-test-1): In regsub use, + have Tcl8.3-compatible intermediate variable. + 2005-04-18 Simon Posnjak <simon.posnjak@siol.net> Hans-Peter Nilsson <hp@axis.com> diff --git a/libffi/testsuite/lib/libffi-dg.exp b/libffi/testsuite/lib/libffi-dg.exp index 7b987111d14..4708ef7b4e7 100644 --- a/libffi/testsuite/lib/libffi-dg.exp +++ b/libffi/testsuite/lib/libffi-dg.exp @@ -1,4 +1,4 @@ -# Copyright (C) 2003 Free Software Foundation, Inc. +# Copyright (C) 2003, 2005 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -40,7 +40,7 @@ proc libffi-dg-test-1 { target_compile prog do_what extra_tool_flags } { upvar 2 dg-output-text output_match if { [llength $output_match] > 1 } { - set x [regsub -all "\n" [lindex $output_match 1] "\r?\n"] + regsub -all "\n" [lindex $output_match 1] "\r?\n" x set output_match [lreplace $output_match 1 1 $x] } |