From 3b9689a4ea6f8f595557c7ac5e12ee3915c88586 Mon Sep 17 00:00:00 2001 From: Amine Khaldi Date: Thu, 8 Sep 2016 10:56:41 +0000 Subject: [PATCH] [CRT] Apply Wine commit 190c67c by Piotr Caban: Fix __pioinfo block size. CORE-11866 svn path=/trunk/; revision=72621 --- reactos/sdk/lib/crt/stdio/file.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reactos/sdk/lib/crt/stdio/file.c b/reactos/sdk/lib/crt/stdio/file.c index b946b1ea65b..b13176bbb22 100644 --- a/reactos/sdk/lib/crt/stdio/file.c +++ b/reactos/sdk/lib/crt/stdio/file.c @@ -108,7 +108,7 @@ static char utf16_bom[2] = { 0xff, 0xfe }; /* FIXME: this should be allocated dynamically */ #define MSVCRT_MAX_FILES 2048 -#define MSVCRT_FD_BLOCK_SIZE 64 +#define MSVCRT_FD_BLOCK_SIZE 32 #define MSVCRT_INTERNAL_BUFSIZ 4096 @@ -123,7 +123,7 @@ typedef struct { /********************************************************************* * __pioinfo (MSVCRT.@) - * array of pointers to ioinfo arrays [64] + * array of pointers to ioinfo arrays [32] */ ioinfo * __pioinfo[MSVCRT_MAX_FILES/MSVCRT_FD_BLOCK_SIZE] = { 0 }; -- 2.17.1