Issue 788249: explicitly provide a buffer in PyFile_SetBufSize() (original) (raw)

Issue788249

Created on 2003-08-13 18:49 by gaul, last changed 2022-04-10 16:10 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
setbufsize.diff gaul,2003-08-13 18:49 explicitly provide a buffer in PyFile_SetBufSize()
Messages (2)
msg44447 - (view) Author: Andrew Gaul (gaul) Date: 2003-08-13 18:49
Fixes bug 603724. Explicitly provide a buffer for setvbuf() and setbuf() in PyFile_SetBufSize(). The C99 standard allows (and glibc 2.2.5 implements) setvbuf() to ignore the size argument when the buffer argument is NULL. Tested against Python 2.3 on Red Hat 7.3 with glibc 2.2.5-43.
msg44448 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2003-09-04 19:04
Logged In: YES user_id=21627 Thanks for the patch. Committed as fileobject.h 2.33 fileobject.c 2.181 fileobject.h 2.32.8.1 NEWS 1.831.4.33 fileobject.c 2.179.8.1
History
Date User Action Args
2022-04-10 16:10:38 admin set github: 39059
2003-08-13 18:49:31 gaul create