[3/4] msvcrt: change default buffer size to 4k.

Grazvydas Ignotas notasas at gmail.com
Thu Jun 12 18:27:06 CDT 2014


Tests show that default buffer size is 4K, as well as checking
_bufsiz FILE member on Windows.
---
 dlls/msvcrt/msvcrt.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/msvcrt/msvcrt.h b/dlls/msvcrt/msvcrt.h
index 2a83b32..e5fad56 100644
--- a/dlls/msvcrt/msvcrt.h
+++ b/dlls/msvcrt/msvcrt.h
@@ -628,7 +628,7 @@ struct MSVCRT__stat64 {
 #define MSVCRT_EOF       (-1)
 #define MSVCRT_TMP_MAX   0x7fff
 #define MSVCRT_RAND_MAX  0x7fff
-#define MSVCRT_BUFSIZ    512
+#define MSVCRT_BUFSIZ    4096
 
 #define MSVCRT_STDIN_FILENO  0
 #define MSVCRT_STDOUT_FILENO 1
-- 
1.7.9.5




More information about the wine-patches mailing list