DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=1550>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=1550

delete task follow symbolic links





------- Additional Comments From [EMAIL PROTECTED]  2002-05-09 01:22 -------
Also the code I wrote would have detected it as a real file anyway because I 
build and test my file object like this:

tempdir = new File(dir.getCanonicalPath());
tester = new File(tempdir, newfiles[i]);
can = tester.getCanonicalPath();
abs = tester.getAbsolutePath();
if (can.equals(abs)) {
    noLinks.add(newfiles[i]);
}

I only flag it as a symlink if the last element in the path is non-canonical.
The rest of directory scanner never sees anything that fails that test.

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to