This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Issue with tcltk-20080420-1 (change of behavior from 20060202-1)


I have been using tkdiff (version 4.1.3) with Cygwin for a long time
without any problems.

After updating the tcltk package from 20060202-1 to 20080420-1, I
noticed that tkdiff is no longer working properly when interacting with
CVS.

The cause of the problem is that when CVS is invoked it is ignoring my
CVS_RSH environment variable, trying to use the default rsh instead of
ssh to access a remote repository.

In the tkdiff.tcl script I changed the command to launch CVS as follows:

FROM >> die-unless "exec $cmd update -p $cvsopt \"$f\""
"\"$finfo(pth,$index)\""

TO >> die-unless "exec /usr/bin/env CVS_RSH=ssh $cmd update -p $cvsopt
\"$f\"" "\"$finfo(pth,$index)\""

-- thus forcing the CVS_RSH environment variable using the env command.
This solves the problem, and tkdiff once again works well with CVS and
ssh.

I am guessing that in the 20060202-1 version of tcltk, the environment
is properly inherited by the exec command, while in 20080420-1 this no
longer seems to be the case.


Regards, Mark Schamberger


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]