At 10:16 AM 1/30/2002 -0500, Andy Dougherty wrote:
>Sun's compiler is (rightly) complaining about the following lines in
>io/io_unix.c:
>
>PIO_unix_fdopen() is defined to take a UINTVAL fourth argument:
>
>     ParrotIO * PIO_unix_fdopen(theINTERP, ParrotIOLayer * layer,
>                         PIOHANDLE fd, UINTVAL flags);
>
>but it is later called with a string fourth argument, e.g.:
>
>     PIO_unix_fdopen(interpreter, layer, STDIN_FILENO, "<"))
>
>Does anyone know the actual intent?  Which one is right?

Yep thats my bug. Low level fdopen should take an int val flags, not
a string.  I'll commit a fix.

-Melvin

Reply via email to