# 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
>> 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
[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
[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
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