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.