From: Garance A Drosehn Date: 2007-02-16T07:08:42+09:00 Subject: Re: Found a Find.find() bug? ------=_Part_65029_14707374.1171577316421 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline On 2/15/07, Garance A Drosehn wrote: > > On 2/15/07, ara.t.howard@noaa.gov wrote: > > > > i __think__ this could happen if /tmp were a soft link... ?? > > > Ooo. Good catch! > > If I switch to testing this on MacOS 10, then '/tmp' is a symlink > to the directory '/private/tmp'. And in that case, I get: > found 1 dirs, 0 other types in '/tmp'. > vs > found 10 dirs, 27 other types in '/tmp/'. > > After spending another 10 seconds to think about this, I wonder if Find.find should throw an exception if passed in a symlink? As it is, Find.find() will only check the symlink itself if it was given a symlink. I probably should take another 60 seconds to think about it, but I should move on to other email right now... -- Garance Alistair Drosehn = drosihn@gmail.com Senior Systems Programmer Rensselaer Polytechnic Institute; Troy, NY; USA ------=_Part_65029_14707374.1171577316421--