mirror of
https://github.com/reactos/reactos.git
synced 2025-07-31 19:41:45 +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();
|
eflags = __readeflags();
|
||||||
__writeeflags(eflags | EFLAGS_DF);
|
__writeeflags(eflags | EFLAGS_DF);
|
||||||
len = pstrlen(teststr + 4);
|
len = pstrlen(teststr + 4);
|
||||||
eflags = __readeflags();
|
ok((__readeflags() & EFLAGS_DF) != 0, "Direction flag in ELFAGS was changed.");
|
||||||
ok((eflags & EFLAGS_DF) != 0, "Direction flag in ELFAGS was changed.");
|
__writeeflags(eflags);
|
||||||
|
|
||||||
/* Only test this for the exported versions, intrinsics might do it
|
/* 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
|
differently. It's up to us to not do fishy stuff! Also crtdll does
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue