mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 19:05:52 +00:00
- Sync with Wine (null-initializing some exported data).
svn path=/trunk/; revision=34805
This commit is contained in:
parent
37cf6bcd75
commit
9db3c82bb7
2 changed files with 7 additions and 7 deletions
|
@ -27,7 +27,7 @@
|
|||
*/
|
||||
#define MAX_ELEM_LEN 64 /* Max length of country/language/CP string */
|
||||
|
||||
unsigned char MSVCRT_mbctype[257];
|
||||
unsigned char MSVCRT_mbctype[257] = { 0 };
|
||||
static int g_mbcp_is_multibyte = 0;
|
||||
|
||||
/* It seems that the data about valid trail bytes is not available from kernel32
|
||||
|
@ -49,11 +49,11 @@ static struct cp_extra_info_t g_cpextrainfo[] =
|
|||
};
|
||||
|
||||
|
||||
char MSVCRT_current_lc_all[MAX_LOCALE_LENGTH];
|
||||
LCID MSVCRT_current_lc_all_lcid;
|
||||
int MSVCRT___lc_codepage;
|
||||
int MSVCRT___lc_collate_cp;
|
||||
HANDLE MSVCRT___lc_handle[MSVCRT_LC_MAX - MSVCRT_LC_MIN + 1];
|
||||
char MSVCRT_current_lc_all[MAX_LOCALE_LENGTH] = { 0 };
|
||||
LCID MSVCRT_current_lc_all_lcid = 0;
|
||||
int MSVCRT___lc_codepage = 0;
|
||||
int MSVCRT___lc_collate_cp = 0;
|
||||
HANDLE MSVCRT___lc_handle[MSVCRT_LC_MAX - MSVCRT_LC_MIN + 1] = { 0 };
|
||||
|
||||
/* MT */
|
||||
#define LOCK_LOCALE _mlock(_SETLOCALE_LOCK);
|
||||
|
|
|
@ -96,7 +96,7 @@ typedef struct {
|
|||
|
||||
/*static */ioinfo fdesc[MAX_FILES];
|
||||
|
||||
FILE _iob[3];
|
||||
FILE _iob[3] = { { 0 } };
|
||||
|
||||
static int fdstart = 3; /* first unallocated fd */
|
||||
static int fdend = 3; /* highest allocated fd */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue