Is it not costly (as in very costly) to get the canonical path ? I would be for the lowest tech possible here.
Peter On Thu, Sep 4, 2008 at 4:38 PM, Dominique Devienne <[EMAIL PROTECTED]> wrote: > On Thu, Sep 4, 2008 at 7:32 AM, Stefan Bodewig <[EMAIL PROTECTED]> wrote: >> as Issue 45499 shows DirectoryScanner can run into infinite loops by >> symbolic links that point to parent directories of the scanned >> directory. > > Instead of trying to track traversed directories using a stack or set, > what about a low-tech max-symlink-hops check (and fileset attribute), > defaulting to say 5, to break out of the infinite loop? --DD > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]