[prev in list] [next in list] [prev in thread] [next in thread]
List: wine-devel
Subject: Re: request for windows test: GetPrivateProfileSectionNamesA
From: Austin English <austinenglish () gmail ! com>
Date: 2009-01-30 20:50:24
Message-ID: b6bb06270901301250k22053e2dt651905ae2fd14b75 () mail ! gmail ! com
[Download RAW message or body]
On Fri, Jan 30, 2009 at 1:37 PM, Marcus Meissner <marcus@jet.franken.de> wrote:
> Hi,
>
> Could someone please test those, I want to see if
> the second or third crash on Windows to handle those
> borderline cases.
>
> Ciao & Thanks, Marcus
>
>
> ---
> dlls/kernel32/tests/profile.c | 7 +++++++
> 1 files changed, 7 insertions(+), 0 deletions(-)
>
> diff --git a/dlls/kernel32/tests/profile.c b/dlls/kernel32/tests/profile.c
> index 5292c33..feeb7b2 100644
> --- a/dlls/kernel32/tests/profile.c
> +++ b/dlls/kernel32/tests/profile.c
> @@ -214,6 +214,13 @@ static void test_profile_sections_names(void)
> WriteFile( h, content, sizeof(content), &count, NULL);
> CloseHandle( h);
>
> + ret = GetPrivateProfileSectionNamesA( NULL, 0, testfile3 );
> + ok (ret == 0, "GetPrivateProfileSectionNamesA(NULL,0) returned %d instead of 0\n", ret);
> + ret = GetPrivateProfileSectionNamesA( buf, 0, testfile3 );
> + ok (ret == 0, "GetPrivateProfileSectionNamesA(buf,0) returned %d instead of 0\n", ret);
> + ret = GetPrivateProfileSectionNamesA( NULL, 1, testfile3 );
> + ok (ret == 0, "GetPrivateProfileSectionNamesA(NULL,1) returned %d instead of 0\n", ret);
> +
> /* Test with sufficiently large buffer */
> memset(buf, 0xc, sizeof(buf));
> ret = GetPrivateProfileSectionNamesA( buf, 29, testfile3 );
> --
> 1.5.6
>
>
>
>
Third crashes on 2k SP4 and XP SP3. First and second are okay.
--
-Austin
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic