summaryrefslogtreecommitdiff
path: root/Include
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2003-09-04 19:02:20 +0000
committerMartin v. Löwis <martin@v.loewis.de>2003-09-04 19:02:20 +0000
commit41add1706d2c41ad0b41b689dc40322b042e1a4c (patch)
tree5254e7be365f3f4df805a92fd66ae460a68965a3 /Include
parente95fc573fb4b75616c4c178655c7a094a9736e87 (diff)
downloadcpython-git-41add1706d2c41ad0b41b689dc40322b042e1a4c.tar.gz
Patch #788249: Pass an explicit buffer to setvbuf in PyFile_SetBufSize().
Fixes #603724.
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 e2053df2e4..2ec4b24a2b 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 */