[Patches] [ python-Patches-788249 ] explicitly provide a buffer in
PyFile_SetBufSize()
SourceForge.net
noreply at sourceforge.net
Thu Sep 4 13:04:21 EDT 2003
Patches item #788249, was opened at 2003-08-13 20:49
Message generated for change (Comment added) made by loewis
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=788249&group_id=5470
Category: Core (C code)
Group: Python 2.3
>Status: Closed
>Resolution: Accepted
Priority: 5
Submitted By: Andrew Gaul (gaul)
Assigned to: Martin v. Löwis (loewis)
Summary: explicitly provide a buffer in PyFile_SetBufSize()
Initial Comment:
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.
----------------------------------------------------------------------
>Comment By: Martin v. Löwis (loewis)
Date: 2003-09-04 21:04
Message:
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
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=788249&group_id=5470
More information about the Patches
mailing list