https://git.reactos.org/?p=reactos.git;a=commitdiff;h=77d234b049b96e9c56fc23b91fffe179e2e73b95

commit 77d234b049b96e9c56fc23b91fffe179e2e73b95
Author:     Hermès Bélusca-Maïto <[email protected]>
AuthorDate: Mon Apr 29 22:51:35 2019 +0200
Commit:     Hermès Bélusca-Maïto <[email protected]>
CommitDate: Mon Apr 29 22:51:35 2019 +0200

    [KERNEL32] Addendum to 0e3a0435 (PR #803): always return TRUE in the 
stub-plemented SetThreadStackGuarantee() to continue satisfying programs that 
use it. CORE-15989
---
 dll/win32/kernel32/client/thread.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dll/win32/kernel32/client/thread.c 
b/dll/win32/kernel32/client/thread.c
index 1a593ba2ddf..e64cd7230d3 100644
--- a/dll/win32/kernel32/client/thread.c
+++ b/dll/win32/kernel32/client/thread.c
@@ -985,8 +985,8 @@ SetThreadStackGuarantee(IN OUT PULONG StackSizeInBytes)
     // FIXME: Unimplemented!
     UNIMPLEMENTED_ONCE;
 
-    // return TRUE;
-    return FALSE;
+    // Temporary HACK for supporting applications!
+    return TRUE; // FALSE;
 }
 
 /*

Reply via email to