- fix array size to match what implementation expects.
Found by Thomas Faber. See issue 6903 for details.

svn path=/trunk/; revision=55800
This commit is contained in:
Jérôme Gardou 2012-02-21 23:19:47 +00:00
parent b517b30866
commit cf3fb86313

View file

@ -112,8 +112,8 @@ typedef struct {
CRITICAL_SECTION crit;
} file_crit;
FILE _iob[3] = { { 0 } };
static file_crit* fstream[MAX_FILES/FD_BLOCK_SIZE];
FILE _iob[_IOB_ENTRIES] = { { 0 } };
static file_crit* fstream[MAX_FILES/FD_BLOCK_SIZE] = { NULL };
static int max_streams = 512, stream_idx;
/* INTERNAL: process umask */