[Python-checkins] python/dist/src/Include fileobject.h,2.32,2.33

loewis at users.sourceforge.net loewis at users.sourceforge.net
Thu Sep 4 13:01:48 EDT 2003


Update of /cvsroot/python/python/dist/src/Include
In directory sc8-pr-cvs1:/tmp/cvs-serv5789/Include

Modified Files:
	fileobject.h 
Log Message:
Patch #788249: Pass an explicit buffer to setvbuf in PyFile_SetBufSize().
Fixes #603724. Will backport to 2.3.


Index: fileobject.h
===================================================================
RCS file: /cvsroot/python/python/dist/src/Include/fileobject.h,v
retrieving revision 2.32
retrieving revision 2.33
diff -C2 -d -r2.32 -r2.33
*** fileobject.h	10 May 2003 07:08:50 -0000	2.32
--- fileobject.h	4 Sep 2003 19:01:45 -0000	2.33
***************
*** 20,23 ****
--- 20,24 ----
  	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 */





More information about the Python-checkins mailing list