Erase the source file open; specify a tempfile name option

Markus Friedl openssh at openbsd.org
Sun May 20 01:51:13 EST 2001


On Fri, May 11, 2001 at 11:26:13PM -0700, Wayne Davison wrote:
> I'm curious how to go about submitting a suggestion that affects both
> the original BSD version and the portable release.  A few days ago I
> sent off a BSD-relative patch to openssh at openssh.com.  Is this the right
> thing to do?  I didn't hear anything back, but it's only been 3 days, so
> I'm probably just being too antsy.
> 
> In the meantime, maybe someone else out there would like to check this
> out.  Appended is a version of my patch for the latest portable code
> (relative to the CVS version).  It adds two new options to scp that I
> find useful:
> 
>   -E         Erase the source file after a successful copy.
>   -T file    Use "file" as a temporary file that gets renamed into
>              each actual destination file.

i'm not sure about this. should we really modify scp?
i'd prefer to have a minimal diff between scp.c and rcp.c

-m



More information about the openssh-unix-dev mailing list