At 04:34 PM 6/9/2002 +0000, [EMAIL PROTECTED] wrote:
>cvsuser     02/06/09 09:34:43
>   This needs rethinking.  PIOHANDLE may not be an integer, so this
>   implementation is probably incorrect.  For now, i'm just disabling it 
> unless
>   the UNIX io module is used, so that warnings aren't generated.

fdopen should still work on stdio if on UNIX. We are saying give me
an open "stream" on this descriptor, regardless of the stream implementation.
I was wrong in my implemenation in assuming the opcode takes a
"PIOHANDLE".

I'll give it some more thought, possibly we need a union in the ParrotIO 
struct,
and there are several places where we need to think about how we are
passing addresses in Ix regs. I think the requirement must be that Ix regs
are always big enough to hold pointers.

-Melvin

Reply via email to