Stefan, > Maybe using something like findFileCaseInsensitive instead of > getCanonicalPath would be better. If we agree that we need to return > the exact case on case insensitive filesystems, that is.
this seems to be the only solution which preserves the old behavior of DirectoryScanner and works everywhere. I am afraid that if we use it we are going to lose the benefit of the optimization, because the time gained is the time necessary to read each directory. I am going to give speed figures for 3 cases : - current code - getCanonicalPath replaced by findFileCaseUnsensitive - code ASOF July 10th (no optimization) Cheers Antoine --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]