kernel32: use TEB-based buffer in CreateMutexExA

Andrey Turkin andrey.turkin at gmail.com
Tue Feb 23 09:41:27 CST 2010


As described in bug 21777, an application bug exposes difference
in CreateMutexExA implementations between native and Wine. Use
thread-local buffer instead of stack-based, as done in GetBinaryTypeA
and filename-related functions.
---
  dlls/kernel32/sync.c |    9 ++++++---
  1 files changed, 6 insertions(+), 3 deletions(-)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-kernel32-use-TEB-based-buffer-in-CreateMutexExA.patch
Type: text/x-patch
Size: 1009 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20100223/87cb0da0/attachment.bin>


More information about the wine-patches mailing list