ntdll: Fix NtQueryInformationThread on non x86. [resent]
Pierre d'Herbemont
stegefin at free.fr
Thu Jun 8 15:32:59 CDT 2006
Hi,
Compilation is broken on non x86 without this patch.
(Sorry, I forgot the mention [resent] on previous patches... I hope
also they'll be ok this time.)
Thanks,
Pierre.
ChangeLog:
Fix NtQueryInformationThread on non x86.
-------------- next part --------------
From nobody Mon Sep 17 00:00:00 2001
From: Pierre d'Herbemont <stegefin at free.fr>
Date: Mon Jun 5 21:25:53 2006 +0200
To: wine-patches <wine-patches at winehq.org>
Subject: [PATCH] Fix NtQueryInformationThread on non x86.
---
dlls/ntdll/thread.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
f5d2cb2c3380ca5b8a3d813b09c79fc66156d3c6
diff --git a/dlls/ntdll/thread.c b/dlls/ntdll/thread.c
index b2d0c55..10cb72b 100644
--- a/dlls/ntdll/thread.c
+++ b/dlls/ntdll/thread.c
@@ -1128,10 +1128,10 @@ #ifdef __i386__
}
SERVER_END_REQ;
}
+ if (status == STATUS_SUCCESS && ret_len) *ret_len = sizeof(*tdi);
#else
status = STATUS_NOT_IMPLEMENTED;
#endif
- if (status == STATUS_SUCCESS && ret_len) *ret_len = sizeof(*tdi);
return status;
}
case ThreadPriority:
--
1.3.0
More information about the wine-patches
mailing list