https://git.reactos.org/?p=reactos.git;a=commitdiff;h=e536256e0a33914bed61e6...
commit e536256e0a33914bed61e622b4dd74dbf0a9f308 Author: Timo Kreuzer timo.kreuzer@reactos.org AuthorDate: Thu Feb 2 00:16:19 2023 +0200 Commit: Timo Kreuzer timo.kreuzer@reactos.org CommitDate: Mon Apr 17 00:41:31 2023 +0300
[USER32_APITEST] Remove "ugly ros hack"
This hack corrupts memory and causes test failures on Windows. --- modules/rostests/apitests/user32/AttachThreadInput.c | 3 --- 1 file changed, 3 deletions(-)
diff --git a/modules/rostests/apitests/user32/AttachThreadInput.c b/modules/rostests/apitests/user32/AttachThreadInput.c index 0249678f0f3..6329778b8e6 100644 --- a/modules/rostests/apitests/user32/AttachThreadInput.c +++ b/modules/rostests/apitests/user32/AttachThreadInput.c @@ -193,9 +193,6 @@ BOOLEAN InitThreads() /* create thread2(same desktop) */ if(!CreateTestThread(2, NULL)) return FALSE;
- /* ugly ros hack to bypass desktop crapiness */ - if(!CreateTestThread(6, L"ThreadTestDesktop")) return FALSE; - /* create thread3(different desktop) */ if(!CreateTestThread(3, L"ThreadTestDesktop")) return FALSE;