Russ Sherk wrote: >I think you can put the port into CVS_RSH. Here is mine on winXP using plink: >-------- >Z:\>echo %CVS_RSH% >"d:\Tools\plink.exe" -ssh -pw "xxxxxx" >Z:\>echo %CVSROOT% >:ext:[EMAIL PROTECTED]:/var/cvs >------- >Does this not work on linux? > >
No. It's an implementation difference. The src/run.c piped_child function accepts an argv array as an argument on Linux and passes that argv directly to execvp. Since argv[0] holds the contents of $CVS_RSH, the system looks for a process names "$CVS_RSH", spaces, arguments, and all. The windows-NT/run.c pipted_child function turns it's argv into a single string with space-delimited arguments which it then passes back to the Windows shell for parsing, so the contents of $CVS_RSH gets resplit on spaces. Regards, Derek _______________________________________________ Info-cvs mailing list [email protected] http://lists.gnu.org/mailman/listinfo/info-cvs
