#34 Bug &Fix : passing diff options in cmd line

open
nobody
None
5
2007-02-20
2007-02-20
jpo38
No

* tkdiff 4.1.3

Bugged Casses: spaces in the diff option

tkdiff --ignore-matching-lines='^ *#.*' fv1 fv2
==> diff failed

The diff option is incorrectly inserted in the "diff command", opts(diffcmd), to be correctly taken in account by the exec command (because of space)

To Fix it I have replaced near line 1038:
append opts(diffcmd) " $arg "
by
append opts(diffcmd) " {$arg} "

I don't know if it a good Correction but it works fine
(I an not used writing TCL language script)

Discussion


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks