* Sync __pxcptinfoptrs() with Wine 1.7.17.
* Update __thread_data structure.
CORE-8108 #resolve
CORE-8080

svn path=/trunk/; revision=63157
This commit is contained in:
Amine Khaldi 2014-05-04 16:58:49 +00:00
parent a9cd01c98b
commit 23cb3e6822
3 changed files with 7 additions and 5 deletions

View file

@ -39,7 +39,8 @@ struct __thread_data {
struct tm *time_buffer; /* buffer for localtime/gmtime */
char *efcvt_buffer; /* buffer for ecvt/fcvt */
int unk3[2];
void *unk4[4];
void *unk4[3];
EXCEPTION_POINTERS *xcptinfo;
int fpecode;
struct MSVCRT_threadmbcinfostruct *mbcinfo;
struct MSVCRT_threadlocaleinfostruct *locinfo;

View file

@ -1,9 +1,9 @@
#include <stdlib.h>
#include <precomp.h>
/*
* @unimplemented
* @implemented
*/
void **__pxcptinfoptrs (void)
void** __pxcptinfoptrs(void)
{
return NULL;
return (void**)&msvcrt_get_thread_data()->xcptinfo;
}

View file

@ -275,6 +275,7 @@ kernel32 -
msvcrt -
reactos/lib/sdk/crt/except/cpp.c # Synced at 20080528
reactos/lib/sdk/crt/except/cppexcept.c # Synced at 20071111
reactos/lib/sdk/crt/signal/xcptinfo.c # Synced to Wine-1.7.1
reactos/lib/sdk/crt/string/scanf.c/h # Synced to Wine-1_1_27
reactos/lib/sdk/crt/strings/wcs.c # Synced at 20080611
reactos/lib/sdk/crt/wine/heap.c # Synced at 20080529