Seems like you encountered a state where the path length may be more than the
program (underlying -s function) could handle. I can easily reproduce it by
creating a circular symbolic link on FreeBSD. After 32|33 levels, size is
undef, resulting in Use of uninitialized value in adddition <+> ...
message.
I will post the updated program -- unless somebody beats me to it -- to not
follow symbolic links.
Update (later that day): Problem that i observed was due to circular
symbolic links (unresolved till 3[23] levels); there was no problem w/
60+ levels of directories.
|