Re: [perl #21656] [PATCH] read buffering in i/o

2003-03-22 Thread Benjamin Goldberg
"JüRgen BöMmels" wrote: [snip] > is(, <, < char buf[1024]; [snip] > len = PIO_read(interpreter, io, buf, sizeof(buf)); [snip] > buf[len] = '\0'; This, almost certainly, should be: buf[MIN(len, 1023)] = '\0'; After all, 'len' could concievably be 1024, if you decide to change you

[perl #21656] [PATCH] read buffering in i/o

2003-03-22 Thread Jürgen
# New Ticket Created by Jürgen Bömmels # Please include the string: [perl #21656] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt2/Ticket/Display.html?id=21656 > Hello, Yet another step in PIO: Enabling read buffering. The first read will fill th

[PATCH] Iterator proof of concept

2003-03-22 Thread Leopold Toetsch
After the overwhelming amount of f'ups to my proposal: Subject: [RfC] Yet another iterator proposal. Date: Mon, 10 Mar 2003 16:17:35 +0100 I (as well as our tireless summarizer) thought, the concept ought to be ok. But a test says more then 1000 RfCs so here is a first step towards implementatio