mirror of
https://github.com/reactos/reactos.git
synced 2025-04-26 00:20:34 +00:00
[CRT_APITEST] Restore direction flag to avoid false RTC break
With set direction flag the variables will not be initialized properly.
This commit is contained in:
parent
dacbc603b6
commit
f71940efb1
1 changed files with 2 additions and 2 deletions
|
@ -48,8 +48,8 @@ Test_strlen(PFN_STRLEN pstrlen)
|
|||
eflags = __readeflags();
|
||||
__writeeflags(eflags | EFLAGS_DF);
|
||||
len = pstrlen(teststr + 4);
|
||||
eflags = __readeflags();
|
||||
ok((eflags & EFLAGS_DF) != 0, "Direction flag in ELFAGS was changed.");
|
||||
ok((__readeflags() & EFLAGS_DF) != 0, "Direction flag in ELFAGS was changed.");
|
||||
__writeeflags(eflags);
|
||||
|
||||
/* Only test this for the exported versions, intrinsics might do it
|
||||
differently. It's up to us to not do fishy stuff! Also crtdll does
|
||||
|
|
Loading…
Reference in a new issue