[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Possible Spam: Re: CVS and SSH V2
From: |
Derek Price |
Subject: |
Re: Possible Spam: Re: CVS and SSH V2 |
Date: |
Thu, 07 Jul 2005 09:12:49 -0400 |
User-agent: |
Mozilla Thunderbird 1.0.2 (Windows/20050317) |
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:address@hidden:/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