[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

[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

More Buffer IO Bugs (was: Strangeness when printing to file)

2004-01-15 Thread Leopold Toetsch
[EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Hello > 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: open P1, S0 find_method P10, P1, "setbuf" set P5, P

Re: Strangeness when printing to file

2004-01-15 Thread Leopold Toetsch
[EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Hello > When running this I would expect the 2 files to > look the same, but they don't. Very likely a bug in the buffering code: $ cmp a_file b_file a_file b_file differ: char 8192, line 84 and # define PIO_BLKSIZE 8192 > /Stefan leo

Strangeness when printing to file

2004-01-15 Thread stelid-6
Hello When running this I would expect the 2 files to look the same, but they don't. new P0, .PerlArray # PMC creation set I10, 1 # wanted numbers. this fails, 1000 works set P0, I10# set array size set P0[0], 2 # set