Author: akhaldi
Date: Thu Sep 8 10:56:41 2016
New Revision: 72621
URL:
http://svn.reactos.org/svn/reactos?rev=72621&view=rev
Log:
[CRT] Apply Wine commit 190c67c by Piotr Caban: Fix __pioinfo block size. CORE-11866
Modified:
trunk/reactos/sdk/lib/crt/stdio/file.c
Modified: trunk/reactos/sdk/lib/crt/stdio/file.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/sdk/lib/crt/stdio/file.c?r…
==============================================================================
--- trunk/reactos/sdk/lib/crt/stdio/file.c [iso-8859-1] (original)
+++ trunk/reactos/sdk/lib/crt/stdio/file.c [iso-8859-1] Thu Sep 8 10:56:41 2016
@@ -108,7 +108,7 @@
/* 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 @@
/*********************************************************************
* __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 };