On Fri, Jul 9, 2010 at 9:23 AM, Natanael Copa <[email protected]> wrote:
> This testcase triggers bug in diff when a trailing / is used on dir.
>
> Bug was reported as https://bugs.busybox.net/show_bug.cgi?id=2203

while testing a possible fix for the above bug i noticed that if you
do 'diff -r / /tmp' I get some interesting results. Seems like diff
follwos symlinks with some interesting results:

diff: 
/proc/self/task/13771/fd/3/proc/self/task/13771/fd/3/proc/self/task/13771/fd/3/proc/self/task/13771/fd/3/proc/self/task/13771/fd/3/proc/self/task/13771/fd/3/proc/self/task/13771/fd/3/proc/self/task/13771/fd/3/proc/self/task/13771/fd/3/proc/self/task/13771/fd/3/proc/self/task/13771/fd/3/proc/self/task/13771/fd/3/proc/self/task/13771/fd/3/proc/self/task/13771/fd/3/proc/self/task/13771/fd/3/proc/self/task/13771/fd/3/proc/self/task/13771/fd/3/proc/self/task/13771/fd/3/proc/self/task/13771/fd/3/proc/self/task/13771/fd/3/home/ncopa/aports/testing/py-application/src/python-application-1.1.5.tar.gz:
Too many levels of symbolic links


diffutils' diff does not seem to recurse dirs that don't exist in both
dirs so it finishes dead fast while busybox diff takes forever.

-- 
Natanael Copa
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to