[BusyBox] cp -df doesn't work as expect for links.

Joe.C joe at numa.com.tw
Mon Sep 16 05:26:03 UTC 2002


    I'm testing busybox.stable with this change.
    It works correctly now.
    Thanks for your help :)

Joe.C

Erik Andersen wrote:
> On Mon Sep 16, 2002 at 06:02:51PM +0800, Joe.C wrote:
> Ahh.  Looks like one more patch is needed.  Can you try
> this additional change to libbb/copy_file.c:51
>     -    if (stat(dest, &dest_stat) < 0) {
>     +    if (lstat(dest, &dest_stat) < 0) {
> 
>  -Erik
> 
> --
> Erik B. Andersen             http://codepoet-consulting.com/
> --This message was written using 73% post-consumer electrons--
> 




More information about the busybox mailing list