[uClibc-cvs] svn commit: trunk/uClibc/libc/stdio

mjn3 at uclibc.org mjn3 at uclibc.org
Mon Mar 21 14:48:49 UTC 2005


Author: mjn3
Date: 2005-03-21 07:48:49 -0700 (Mon, 21 Mar 2005)
New Revision: 10055

Log:
Forgot to change name of builtin buffer during last rewrite.

Modified:
   trunk/uClibc/libc/stdio/_fopen.c


Changeset:
Modified: trunk/uClibc/libc/stdio/_fopen.c
===================================================================
--- trunk/uClibc/libc/stdio/_fopen.c	2005-03-21 10:42:43 UTC (rev 10054)
+++ trunk/uClibc/libc/stdio/_fopen.c	2005-03-21 14:48:49 UTC (rev 10055)
@@ -165,9 +165,8 @@
 			stream->__modeflags |= __FLAG_FREEBUF;
 		} else {
 # if __STDIO_BUILTIN_BUF_SIZE > 0
-#warning if builtin buffer, then need probably want to test vs that too
-			stream->__bufstart = stream->unbuf;
-			stream->__bufend = stream->unbuf + sizeof(stream->unbuf);
+			stream->__bufstart = stream->__builtinbuf;
+			stream->__bufend = stream->__builtinbuf + sizeof(stream->__builtinbuf);
 # else  /* __STDIO_BUILTIN_BUF_SIZE > 0 */
 			stream->__bufend = stream->__bufstart;
 # endif /* __STDIO_BUILTIN_BUF_SIZE > 0 */




More information about the uClibc-cvs mailing list