Skip to content
Snippets Groups Projects
Commit fddc4ec7 authored by Rolf Kalbermatter's avatar Rolf Kalbermatter Committed by Alexandre Julliard
Browse files

Fix another error under Win9x (hopefully).

parent d1ffc6f1
No related branches found
No related tags found
No related merge requests found
......@@ -262,11 +262,10 @@ static void test__lcreat( void )
ok( DeleteFileA( filename ) != 0, "DeleteFile failed (%ld)", GetLastError( ) );
filehandle=_lcreat (slashname, 0); /* illegal name */
if (HFILE_ERROR != filehandle || GetLastError() != ERROR_INVALID_NAME)
if (HFILE_ERROR != filehandle || (GetLastError() != ERROR_INVALID_NAME && GetLastError() != ERROR_PATH_NOT_FOUND))
{
todo_wine {
ok (0, "creating file \"%s\" should fail with error 123, (err=%ld)", slashname, GetLastError ());
ok (0, "creating file \"%s\" should fail with error 123 or 3, (err=%ld)", slashname, GetLastError ());
}
_lclose(filehandle);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment