Skip to content

Commit

Permalink
PR libffi/65567
Browse files Browse the repository at this point in the history
	* testsuite/lib/libffi.exp (libffi_feature_test): Use split to ensure
	lindex is applied to a list.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@221765 138bc75d-0d04-0410-961f-82ee72b054a4
  • Loading branch information
danglin committed Mar 29, 2015
1 parent 38cef03 commit 7dda24b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions libffi/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
2015-03-29 John David Anglin <danglin@gcc.gnu.org>

PR libffi/65567
* testsuite/lib/libffi.exp (libffi_feature_test): Use split to ensure
lindex is applied to a list.

2015-02-10 Andrew Pinski <apinski@cavium.com>

* src/aarch64/ffitarget.h (ffi_arg): Use unsigned long long for ILP32.
Expand Down
2 changes: 1 addition & 1 deletion libffi/testsuite/lib/libffi.exp
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ proc libffi_feature_test { test } {
set lines [libffi_target_compile $src "" "preprocess" ""]
file delete $src

set last [lindex $lines end]
set last [lindex [split $lines] end]
return [regexp -- "xyzzy" $last]
}

Expand Down

0 comments on commit 7dda24b

Please sign in to comment.