(resend) kernel32: Fix error returns from CreateFile (at least the simple ones).

Alexandre Julliard julliard at winehq.org
Tue Jun 16 06:55:30 CDT 2009


Guy Albertelli <galberte at neo.rr.com> writes:

> Changelog:
>   - CreateFile[AW] should return ERROR_PATH_NOT_FOUND when
>     STATUS_FILE_IS_A_DIRECTORY is returned from NtCreateFile and
>     the requested filename has a trailing \

This breaks the tests:

../../../tools/runtest -q -P wine -M kernel32.dll -T ../../.. -p kernel32_test.exe.so profile.c && touch profile.ok
profile.c:968: Test failed: Expected ERROR_ACCESS_DENIED, got 3
make[2]: *** [profile.ok] Error 1

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list