ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 33118] - Filescanner toasts on directory without read permissions
Date Fri, 18 Feb 2005 13:50:38 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=33118>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=33118





------- Additional Comments From bodewig@apache.org  2005-02-18 14:50 -------
because of these lines in accountForIncludedDirectory

        if (fast && (included || couldHoldIncluded(name))) {
            scandir(file, name + File.separator, fast);
        }

included is true, so we scan.

I think it should be

        if (fast && couldHoldIncluded(name + '/')) {
            scandir(file, name + File.separator, fast);
        }

but need some more time to look through all the side effects if such a change.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message