If the enumerator returns several times the same path the problem
could not
be a mdextractor bug.
Can you, please, compile and run this:
int main(int argc, char** argv)
{
CREATE_AUTORELEASE_POOL(pool);
NSDirectoryEnumerator *enumerator = [[NSFileManager
defaultManager]
enumeratorAtPath: @"/home/philou/stuff/winedata"];
NSString *fname;
while ((fname = [enumerator nextObject]) != nil) {
NSLog([path stringByAppendingPathComponent: fname]);
}
RELEASE (pool);
exit(EXIT_SUCCESS);
}
If the behaviour is the same, that is,
"/home/philou/stuff/winedata/drive_c/windows/temp/vs60wiz.exe" is
returned
many times, or there is a bug somewhere in -base or you have a
problem with
your disk...