cvsuser 03/07/03 08:31:51
Modified: io io_win32.c io_stdio.c
Log:
PIO_new only takes four arguments, not five
Revision Changes Path
1.23 +3 -3 parrot/io/io_win32.c
Index: io_win32.c
===================================================================
RCS file: /cvs/public/parrot/io/io_win32.c,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -w -r1.22 -r1.23
--- io_win32.c 9 May 2003 07:06:26 -0000 1.22
+++ io_win32.c 3 Jul 2003 15:31:51 -0000 1.23
@@ -1,7 +1,7 @@
/* io_win32.c
* Copyright: (When this is determined...it will go here)
* CVS Info
- * $Id: io_win32.c,v 1.22 2003/05/09 07:06:26 sfink Exp $
+ * $Id: io_win32.c,v 1.23 2003/07/03 15:31:51 scog Exp $
* Overview:
* This is the Parrot IO OS layer for Win32 platforms.
* Data Structure and Algorithms:
@@ -157,7 +157,7 @@
fd = CreateFile(spath, fAcc, 0, NULL, fCreat, FILE_ATTRIBUTE_NORMAL, NULL);
if (fd != INVALID_HANDLE_VALUE) {
- io = PIO_new(interpreter, NULL, type, flags, 0);
+ io = PIO_new(interpreter, type, flags, 0);
io->fd = fd;
return io;
}
@@ -179,7 +179,7 @@
if (PIO_win32_isatty(fd))
flags |= PIO_F_CONSOLE;
- io = PIO_new(interpreter, NULL, PIO_F_FILE, flags, mode);
+ io = PIO_new(interpreter, PIO_F_FILE, flags, mode);
io->fd = fd;
return io;
}
1.22 +3 -3 parrot/io/io_stdio.c
Index: io_stdio.c
===================================================================
RCS file: /cvs/public/parrot/io/io_stdio.c,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -w -r1.21 -r1.22
--- io_stdio.c 17 Jul 2002 05:04:59 -0000 1.21
+++ io_stdio.c 3 Jul 2003 15:31:51 -0000 1.22
@@ -1,7 +1,7 @@
/* io_stdio.c
* Copyright: (When this is determined...it will go here)
* CVS Info
- * $Id: io_stdio.c,v 1.21 2002/07/17 05:04:59 josh Exp $
+ * $Id: io_stdio.c,v 1.22 2003/07/03 15:31:51 scog Exp $
* Overview:
* This is the Parrot IO STDIO layer. This may provide a subset of
* full functionality, but must compile on any system with the
@@ -134,7 +134,7 @@
if (fptr != NULL) {
if (PIO_isatty(fptr))
flags |= PIO_F_CONSOLE;
- io = PIO_new(interpreter, NULL, type, flags, 0);
+ io = PIO_new(interpreter, type, flags, 0);
io->fd = fptr;
return io;
}
@@ -151,7 +151,7 @@
if (PIO_isatty(fptr))
flags |= PIO_F_CONSOLE;
- io = PIO_new(interpreter, NULL, PIO_F_FILE, flags, mode);
+ io = PIO_new(interpreter, PIO_F_FILE, flags, mode);
io->fd = fptr;
return io;
}