This silly bug has been driving me mad, so I'm posting this very simple
patch despite the fact that I should really be working instead.  (Guess I
got sick of seeing all three Solaris targets on fire :-)

Index: io_unix.c
===================================================================
RCS file: /home/perlcvs/parrot/io/io_unix.c,v
retrieving revision 1.9
diff -u -r1.9 io_unix.c
--- io_unix.c   18 Feb 2002 08:26:12 -0000      1.9
+++ io_unix.c   21 Feb 2002 14:30:46 -0000
@@ -183,10 +183,10 @@
                        PIOHANDLE fd, UINTVAL flags) {
         ParrotIO * io;
         UINTVAL oflags, mode;
-        mode = 0;
 #ifdef HAS_HEADER_FCNTL
-        UNITVAL rflags;
+        UINTVAL rflags;
 #endif
+        mode = 0;

         oflags = flags_to_unix(flags);


- D

<[EMAIL PROTECTED]>

Reply via email to