[PATCH]: scp: Avoid paths beginning with "//"

Mark Bradshaw bradshaw at staff.crosswalk.com
Tue Jan 15 12:09:11 EST 2002


Scp has some path issues when transferring to or from the root file system
of a windows machine (cygwin).  It creates a path that begins with //, which
indicates a UNC path on Windows.  I sent in patches for similar issues last
year.  

The fix is a one line change to determine if the path is "/", and not double
up on the slashes.

I've attached diffs to latest cvs.

-Mark

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: scp.diff.txt
Url: http://lists.mindrot.org/pipermail/openssh-unix-dev/attachments/20020114/e1157c1b/attachment.txt 


More information about the openssh-unix-dev mailing list