[Patches] [ python-Patches-788249 ] explicitly provide a buffer in PyFile_SetBufSize()

SourceForge.net noreply at sourceforge.net
Sun Aug 31 10:45:30 EDT 2003


Patches item #788249, was opened at 2003-08-13 20:49
Message generated for change (Settings changed) 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: Open
Resolution: None
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.

----------------------------------------------------------------------

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