Re: PIO_read, PIO_reads

2004-05-29 Thread Nicholas Clark
On Fri, May 28, 2004 at 11:38:55AM +0200, Leopold Toetsch wrote: I didn't get much comments for my proposal WRT IO changes. So I'll sumarize my next planned steps: I'm as guilty as everyone else here * use Parrot_stat_info_intval(..., STAT_FILESIZE) in embed.c:Parrot_readbc() to obtain the

Re: PIO_read, PIO_reads

2004-05-29 Thread Leopold Toetsch
Nicholas Clark [EMAIL PROTECTED] wrote: On Fri, May 28, 2004 at 11:38:55AM +0200, Leopold Toetsch wrote: The returned string gets malloc(3)ed. PObj_external_FLAG|PObj_sysmem_FLAG is set, so that the memory gets freed during DOD. I can't find your earlier proposals (which suggests that I've

PIO_read, PIO_reads

2004-05-28 Thread Leopold Toetsch
I didn't get much comments for my proposal WRT IO changes. So I'll sumarize my next planned steps: * use Parrot_stat_info_intval(..., STAT_FILESIZE) in embed.c:Parrot_readbc() to obtain the PBC file size [1] * convert all IO Read layer functions to return a STRING* [2] * toss PIO_read()