# New Ticket Created by "Tamilmani, Arvindh Rajesh (Cognizant)"
# Please include the string: [perl #24941]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=24941 >
>> When running this I would expect the 2 files to
>> look th
Arvindh Rajesh Tamilmani <[EMAIL PROTECTED]> wrote:
> The attached patch fixes the above two bugs:
> a) when the buffer is full, it is not completely flushed; fixed.
> b) setbuf sets b->size to PIO_GRAIN (and wrongly sets io->flags) when
>passed 0. The patch sets b->size to 0 - hope it is the
>> When running this I would expect the 2 files to
>> look the same, but they don't.
>
>Additionally to the reported bug these seem to be broken:
>
>1) Turning off buffering:
The attached patch fixes the above two bugs:
a) when the buffer is full, it is not completely flushed; fixed.
b) setbuf set