Wine NtQueryDirectoryFile fix for Resier4
Maciej Szmigiero
maciej_szmig at o2.pl
Sun Oct 31 01:11:30 CST 2004
When I ran Wine after converting my partition into Reiser4 I have noticied
that when application calls "Open" dialog, Wine seems to hang. After runnig
tests in dlls/kernel/tests directory I have realized that every call to
FindFirstFile or FindNextFile will hang Wine. Debugging using WINEDEBUG has
showed me that FindNextFile called NtQueryDirectoryFile infinitely. So
problem was in this function. Quick debugging with TRACE() macro showed that
reiser4 returns -1 from telldir() after all files had been read by readdir().
So this is a quick fix for this issue.
This should fix bug http://bugs.winehq.org/show_bug.cgi?id=2525
--
Maciej Szmigiero
-------------- next part --------------
A non-text attachment was scrubbed...
Name: wine_reiser4.patch
Type: text/x-diff
Size: 790 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20041031/dadbccd1/wine_reiser4.bin
More information about the wine-patches
mailing list