[svn:parrot] r37990 - trunk/src/io

Infinoid at svn.parrot.org Infinoid at svn.parrot.org
Wed Apr 8 23:50:11 UTC 2009


Author: Infinoid
Date: Wed Apr  8 23:50:11 2009
New Revision: 37990
URL: https://trac.parrot.org/parrot/changeset/37990

Log:
[win32] Hey, idiot, set the right value this time.
Infinoid--

Modified:
   trunk/src/io/win32.c

Modified: trunk/src/io/win32.c
==============================================================================
--- trunk/src/io/win32.c	Wed Apr  8 23:45:12 2009	(r37989)
+++ trunk/src/io/win32.c	Wed Apr  8 23:50:11 2009	(r37990)
@@ -148,13 +148,13 @@
         _PIO_STDOUT(interp) = Parrot_io_fdopen_win32(interp, PMCNULL, h, PIO_F_WRITE);
     }
     else {
-        _PIO_STDIN(interp) = PMCNULL;
+        _PIO_STDOUT(interp) = PMCNULL;
     }
     if ((h = GetStdHandle(STD_ERROR_HANDLE)) != INVALID_HANDLE_VALUE) {
         _PIO_STDERR(interp) = Parrot_io_fdopen_win32(interp, PMCNULL, h, PIO_F_WRITE);
     }
     else {
-        _PIO_STDIN(interp) = PMCNULL;
+        _PIO_STDERR(interp) = PMCNULL;
     }
 #  if PARROT_NET_DEVEL
     /* Start Winsock


More information about the parrot-commits mailing list