ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dominique Devienne" <ddevie...@gmail.com>
Subject Re: DirectoryScanner and Symlinks
Date Thu, 04 Sep 2008 15:38:42 GMT
On Thu, Sep 4, 2008 at 7:32 AM, Stefan Bodewig <bodewig@apache.org> 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: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message