Re: kernel32: fix PROFILE_Load to handle mac line endings (try 2)
14 Sep
2008
14 Sep
'08
7:36 p.m.
Erik Inge Bolsø wrote:
Fixes bug 15281. With testcase. diff --git a/dlls/kernel32/tests/profile.c b/dlls/kernel32/tests/profile.c index 8a3e83b..1cc963c 100644 --- a/dlls/kernel32/tests/profile.c +++ b/dlls/kernel32/tests/profile.c @@ -694,6 +694,273 @@ static void test_GetPrivateProfileString(void) DeleteFileA(filename); }
+/* as above, but cr-only terminated lines */ +static void test_cr(void) +{
As you've stated this is exactly the same code (260 or so lines) with only the content struct being different. I think it's better to rewrite the current test_GetPrivateProfileString to take content as a parameter and call it with both types of content. -- Cheers, Paul.
6300
Age (days ago)
6300
Last active (days ago)
0 comments
1 participants
participants (1)
-
Paul Vriens