[perl #24941] [PATCH] RE: More Buffer IO Bugs (was: Strangeness when printing to file)

2004-01-18 Thread Tamilmani, Arvindh Rajesh \(Cognizant\)
# 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

Re: [PATCH] RE: More Buffer IO Bugs

2004-01-18 Thread Leopold Toetsch
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

[PATCH] RE: More Buffer IO Bugs (was: Strangeness when printing to file)

2004-01-18 Thread Tamilmani, Arvindh Rajesh (Cognizant)
>> 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