msvcrt: Fix __pioinfo block size.
diff --git a/dlls/msvcrt/file.c b/dlls/msvcrt/file.c
index f1af1b7..ecbec34 100644
--- a/dlls/msvcrt/file.c
+++ b/dlls/msvcrt/file.c
@@ -69,7 +69,7 @@
/* FIXME: this should be allocated dynamically */
#define MSVCRT_MAX_FILES 2048
-#define MSVCRT_FD_BLOCK_SIZE 64
+#define MSVCRT_FD_BLOCK_SIZE 32
/* ioinfo structure size is different in msvcrXX.dll's */
typedef struct {
@@ -82,7 +82,7 @@
/*********************************************************************
* __pioinfo (MSVCRT.@)
- * array of pointers to ioinfo arrays [64]
+ * array of pointers to ioinfo arrays [32]
*/
ioinfo * MSVCRT___pioinfo[MSVCRT_MAX_FILES/MSVCRT_FD_BLOCK_SIZE] = { 0 };
@@ -229,7 +229,7 @@
return INVALID_HANDLE_VALUE;
}
if (msvcrt_get_ioinfo(fd)->handle == INVALID_HANDLE_VALUE)
- FIXME("returning INVALID_HANDLE_VALUE for %d\n", fd);
+ WARN("returning INVALID_HANDLE_VALUE for %d\n", fd);
return msvcrt_get_ioinfo(fd)->handle;
}