Hello,
following up on the profile changes started on this thread: http://www.winehq.org/pipermail/wine-devel/2006-December/053009.html
I tried a patch in git format made against latest. First attempt at using git, that is.
dlls/kernel32/profile.c: allow section and key names of zero length dlls/kernel32/tests/profile.c: add testcases where KEY or SECTION are "".
Note: still requires testing on a real Windows 95, to determine if that version behaves differently.
If you have access to a Windows 95 installation, please help by applying this patch and:
[optional] * run the updated tests in wine (all should pass) * revert changes in dlls/kernel32/profile.c, and run the updated tests in wine (the two new tests should fail)
[important] * run the updated test program under a real Windows 95.
If tests pass, then Windows 95 behaves exactly the same as later versions. If tests do not pass, then Windows 95 is indeed different, and this patch should be modified accordingly.
---
dlls/kernel32/profile.c | 10 ++-------- dlls/kernel32/tests/profile.c | 8 ++++++-- 2 files changed, 8 insertions(+), 10 deletions(-)