ntdll/tests: Make sure to clear the DF flag on return from the exception.

This commit is contained in:
Alexandre Julliard 2008-05-19 23:19:24 +02:00
parent 13e609fdb3
commit bb4119e1fd
1 changed files with 1 additions and 0 deletions

View File

@ -503,6 +503,7 @@ static DWORD direction_flag_handler( EXCEPTION_RECORD *rec, EXCEPTION_REGISTRATI
ok( context->EFlags & 0x400, "context eflags has DF bit cleared\n" );
got_exception++;
context->Eip++; /* skip cli */
context->EFlags &= ~0x400; /* make sure it is cleared on return */
return ExceptionContinueExecution;
}