[1/2] kernel32: Add a test for protections accepted by CreateFileMapping, make it pass under Wine.
Alexandre Julliard
julliard at winehq.org
Fri Nov 25 09:52:29 CST 2011
Dmitry Timoshkov <dmitry at baikal.ru> writes:
> Alexandre Julliard <julliard at winehq.org> wrote:
>
>> > @@ -350,9 +350,6 @@ HANDLE WINAPI CreateFileMappingW( HANDLE hFile, LPSECURITY_ATTRIBUTES sa,
>> >
>> > switch(protect)
>> > {
>> > - case 0:
>> > - protect = PAGE_READONLY; /* Win9x compatibility */
>> > - /* fall through */
>>
>> Did you try your test on Win9x?
>
> No, i have no a win9x machine around.
Hmmm, we should keep one available on the testbot for cases like this.
--
Alexandre Julliard
julliard at winehq.org
More information about the wine-devel
mailing list