http://bugs.winehq.org/show_bug.cgi?id=5024
Erich Hoover ehoover@mines.edu changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |ehoover@mines.edu
--- Comment #24 from Erich Hoover ehoover@mines.edu 2007-10-13 02:26:00 --- (In reply to comment #19 and comment #20)
i wrote a test, just opening an ini-file with all possible combinations of the flags. The test passes on windows, but i wasn't able to get them all pass in wine. A bit stuck here :(
I noticed in your patch the the profile file is opened with "OPEN_EXISTING" where WritePrivateProfileString indicates that the file will be created if it does not exist (OPEN_ALWAYS). The appropriate flags are rather dependent on your testing work, just confirming that it makes the game work is usually not enough to get your patch merged. Could you attach the results of your different test cases on Windows? If we can get the behavior to match then it would make sense to get your changes included in git.