FIX: Reload Profile Cache When File Changes

Franklin, Douglas (ISS Atlanta) dfranklin at iss.net
Wed Oct 19 14:05:17 CDT 2005


Doug Franklin <dfranklin at iss.net>

When using Get(Private)ProfileString, if the data file changes on the
file
system, the application running inside Wine does not get the changes
until
it shuts down and restarts.  The PROFILE_Open function checks to see if
the
file has changed, by testing the LastWriteTime, but
(a) only does the check if the 'profile' trace channel is enabled
(b) does the check wrong (sense of memcpy result test is reversed)
(c) doesn't actually reload the data

Changelog
- Reload profile data for Get(Private)ProfileString when the file
changes.


Thanks,
Doug Franklin
Software Engineer
X-Force Behavior Engine
404-236-2930
-------------- next part --------------
A non-text attachment was scrubbed...
Name: profile.diff
Type: application/octet-stream
Size: 1720 bytes
Desc: profile.diff
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20051019/7e2b26b3/profile-0001.obj


More information about the wine-patches mailing list