summaryrefslogtreecommitdiff
path: root/StdLib/Include/stdio.h
diff options
context:
space:
mode:
Diffstat (limited to 'StdLib/Include/stdio.h')
-rw-r--r--StdLib/Include/stdio.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/StdLib/Include/stdio.h b/StdLib/Include/stdio.h
index 59022666b..c0a4deb78 100644
--- a/StdLib/Include/stdio.h
+++ b/StdLib/Include/stdio.h
@@ -105,7 +105,7 @@
by a three-character attempt at a mnemonic.
- Copyright (c) 2010 - 2011, Intel Corporation. All rights reserved.<BR>
+ Copyright (c) 2010 - 2012, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials are licensed and made available under
the terms and conditions of the BSD License that accompanies this distribution.
The full text of the license may be found at
@@ -243,8 +243,8 @@ typedef struct __sFILE {
/*@}*/
/* tricks to meet minimum requirements even when malloc() fails */
- unsigned char _ubuf[3]; /**< guarantee an ungetc() buffer */
- unsigned char _nbuf[1]; /**< guarantee a getc() buffer */
+ unsigned char _ubuf[3 * MB_LEN_MAX]; /**< guarantee an ungetc() buffer */
+ unsigned char _nbuf[1 * MB_LEN_MAX]; /**< guarantee a getc() buffer */
/** separate buffer for fgetln() when line crosses buffer boundary */
struct __sbuf _lb; /* buffer for fgetln() */