[Patch] Allow setbuf(_s, 1)

Paolo Carlini pcarlini@unitus.it
Tue Jun 17 20:28:00 GMT 2003


Paolo Carlini wrote:

>2003-06-17  Nathan C. Myers  <ncm-nospam@cantrip.org>
>	    Paolo Carlini  <pcarlini@unitus.it>
>
>	* include/bits/fstream.tcc (setbuf): Allow (__s, 1) too,
>	simply equivalent to the unbuffered case (0, 0).
>
Actually, I'm finding this Changelog entry misleading: the patch
seems more invasive than really is. I prefer the below.

Paolo.

/////////
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: CL_setbuf_2
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20030617/32639240/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch_setbuf_2
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20030617/32639240/attachment-0001.ksh>


More information about the Libstdc++ mailing list