find / rm corrupting memory
walter harms
WHarms at bfs.de
Sat Jan 26 17:01:26 UTC 2008
Roy Marples wrote:
> Hi List.
>
> I'm trying to track down a memory corruption when using the following
>
> /tmp/bb $ touch a b
> /tmp/bb $ find . -type f -exec rm -rf -- {} \;
> /tmp/bb $ touch a b c
> /tmp/bb $ find . -type f -exec rm -rf -- {} \;
> rm: invalid option --
> BusyBox v1.9.0 (2008-01-25 14:43:46 GMT) multi-call binary
>
works for me:
~/src/busybox/busybox-1.9.0/check> touch a b
/check> ../busybox find . -type f -exec rm -rf -- {} \;
/check> ll
insgesamt 0
/check> touch a b c
/check> ../busybox find . -type f -exec rm -rf -- {} \;
/check> ll
insgesamt 0
what version of gcc you are using ?
re,
wh
More information about the busybox
mailing list