[BusyBox] Re: [BusyBox-cvs] busybox/libbb copy_file.c,1.27,1.28
Erik Andersen
andersen at codepoet.org
Sun Jan 11 05:30:49 UTC 2004
On Sun Jan 11, 2004 at 05:21:02AM +0000, Glenn McGrath wrote:
> Modified Files:
> copy_file.c
> Log Message:
> Patch from Matt Kraai to fix debian bug #227081
>
> cp does not truncate existing destinations. That is, after
> running
>
> echo foo > foo
> echo fubar > fubar
> cp foo fubar
>
> the contents of fubar are
>
> foo
> r
>
> instead of
>
> foo
Wow, good catch!
-Erik
--
Erik B. Andersen http://codepoet-consulting.com/
--This message was written using 73% post-consumer electrons--
More information about the busybox
mailing list