* To-be-committed: logic error in last compat.exp:compat-execute change.
@ 2002-10-29 16:34 Hans-Peter Nilsson
0 siblings, 0 replies; only message in thread
From: Hans-Peter Nilsson @ 2002-10-29 16:34 UTC (permalink / raw)
To: gcc-patches
Doh. The second I committed the previous change, I realized the
error in the condition logic. I'll commit this as obvious (after
testing, no less; the error just results in no cleanup for
non-gluefile targets).
* lib/compat.exp (compat-execute): Fix logic error in last
change.
Index: compat.exp
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/lib/compat.exp,v
retrieving revision 1.3
diff -p -c -r1.3 compat.exp
*** compat.exp 30 Oct 2002 00:27:34 -0000 1.3
--- compat.exp 30 Oct 2002 00:28:53 -0000
*************** proc compat-execute { src1 use_alt } {
*** 231,237 ****
set files [glob -nocomplain *.o]
if { $files != "" } {
foreach objfile $files {
! if { [info exists gluefile] && $objfile != $gluefile } {
eval "remote_file build delete $objfile"
}
}
--- 231,237 ----
set files [glob -nocomplain *.o]
if { $files != "" } {
foreach objfile $files {
! if { ![info exists gluefile] || $objfile != $gluefile } {
eval "remote_file build delete $objfile"
}
}
brgds, H-P
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-10-30 0:34 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-10-29 16:34 To-be-committed: logic error in last compat.exp:compat-execute change Hans-Peter Nilsson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).