[Patch] Allow setbuf(_s, 1)
Paolo Carlini
pcarlini@unitus.it
Tue Jun 17 18:57:00 GMT 2003
Hi,
on any implementation of setbuf semantics, I see no problems
with the below, which simply allows (__s, 1) too, equivalent
to the unbuffered case. This is more friendly to existing code.
Tested x86-linux, ok with everyone?
Paolo.
/////////
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: CL_setbuf
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20030617/b726f8fc/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch_setbuf
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20030617/b726f8fc/attachment-0001.ksh>
More information about the Libstdc++
mailing list