About: [PATCH 2/2] ntdll: Check for case-insensitive volumes.
Joris Huizer
joris_huizer at yahoo.com
Mon Oct 18 09:10:59 CDT 2010
Hello,
In the proposed patch "[PATCH 2/2] ntdll: Check for case-insensitive volumes.", I found this piece:
+ /* Add a new entry */
+ for (i = 0; i < sizeof(fs_cache)/sizeof(fs_cache[0]); i++)
+ if (fs_cache[i].dev == 0)
+ {
+ /* This entry is empty, use it */
+ fs_cache[i].dev = dev;
+ fs_cache[i].fsid = fsid;
+ fs_cache[i].case_sensitive = case_sensitive;
+ }
Maybe I'm missing something, but shouldn't you return from the function when finding a cache entry to fill? This seems to be filling every empty
cache entry?
HTH,
Joris
More information about the wine-devel
mailing list