dejagnu
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

PATCH: fix think in config/sim.exp


From: Ben Elliston
Subject: PATCH: fix think in config/sim.exp
Date: Fri, 2 Jun 2006 15:34:46 +1000
User-agent: Mutt/1.2.5.1i

I noticed that the (small) proc sim_upload in config/sim.exp made no
sense -- the procedure just passes through its arguments to
remote_upload, but there were some mismatches between the proc's
parameter names and the names passed to remote_upload.

Paul, am I right -- did you commit a thinko here?  If so, I'll write
up a ChangeLog entry and commit this.

Cheers, Ben

Index: config/sim.exp
===================================================================
RCS file: /cvsroot/dejagnu/dejagnu/config/sim.exp,v
retrieving revision 1.10
diff -u -p -r1.10 sim.exp
--- config/sim.exp      22 May 2006 06:01:35 -0000      1.10
+++ config/sim.exp      2 Jun 2006 05:32:01 -0000
@@ -129,8 +129,8 @@ proc sim_download { dest file args } {
     return [remote_download host $file $args]
 }
 
-proc sim_upload { dest srcfile destfile } {
-    return [remote_upload host $file $args]
+proc sim_upload { dest srcfile args } {
+    return [remote_upload host $srcfile $args]
 }
 
 set_board_info protocol  "sim"

Attachment: pgptZxpIuiTRB.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]