[BusyBox] Bug in cp
Tito
farmatito at tiscali.it
Tue Jan 20 20:57:33 UTC 2004
On Tuesday 20 January 2004 18:17, Alfred Zastow wrote:
> Hi list,
>
> I observed a strange behaviour in busybox-1.0pre5.
> `cp` doesn't overwrite files as in pre3 and as the original cp.
>
> For testing please create two files:
>
> echo "1234" >file1
>
> file1 is now 5 bytes in size
>
>
> echo "21" >file2
>
> file2 is now 3 bytes in size
>
>
> cp file2 file1
>
> The resulting file1 is 5 bytes in size, only the first bytes were
> overwritten.
>
>
>
> best regards
> Alfred
I think this was fixed in CVS.
So download latest tarball and give a try......... ;-)
Ciao,
TITO
More information about the busybox
mailing list