summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2003-09-04 19:01:46 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2003-09-04 19:01:46 (GMT)
commit1e3bdf6c459a2e324730dda2db53ad845ad39532 (patch)
treed9402a5bd98c5efe7bca7779f48e9632e608541f /Include
parentfa3bdea018c511dbfabec8c2860b36523448b217 (diff)
downloadcpython-1e3bdf6c459a2e324730dda2db53ad845ad39532.zip
cpython-1e3bdf6c459a2e324730dda2db53ad845ad39532.tar.gz
cpython-1e3bdf6c459a2e324730dda2db53ad845ad39532.tar.bz2
Patch #788249: Pass an explicit buffer to setvbuf in PyFile_SetBufSize().
Fixes #603724. Will backport to 2.3.
Diffstat (limited to 'Include')
-rw-r--r--Include/fileobject.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Include/fileobject.h b/Include/fileobject.h
index e2053df..2ec4b24 100644
--- a/Include/fileobject.h
+++ b/Include/fileobject.h
@@ -19,6 +19,7 @@ typedef struct {
char* f_buf; /* Allocated readahead buffer */
char* f_bufend; /* Points after last occupied position */
char* f_bufptr; /* Current buffer position */
+ char *f_setbuf; /* Buffer for setbuf(3) and setvbuf(3) */
#ifdef WITH_UNIVERSAL_NEWLINES
int f_univ_newline; /* Handle any newline convention */
int f_newlinetypes; /* Types of newlines seen */