[pypy-svn] r46495 - pypy/dist/pypy/translator/jvm/src/pypy

antocuni at codespeak.net antocuni at codespeak.net
Wed Sep 12 12:24:05 CEST 2007


Author: antocuni
Date: Wed Sep 12 12:24:03 2007
New Revision: 46495

Modified:
   pypy/dist/pypy/translator/jvm/src/pypy/ll_os.java
Log:
oops! swap stdin and stdout



Modified: pypy/dist/pypy/translator/jvm/src/pypy/ll_os.java
==============================================================================
--- pypy/dist/pypy/translator/jvm/src/pypy/ll_os.java	(original)
+++ pypy/dist/pypy/translator/jvm/src/pypy/ll_os.java	Wed Sep 12 12:24:03 2007
@@ -172,8 +172,8 @@
     private static Map<Integer, String> ErrorMessages = new HashMap<Integer, String>();
 
     static {
-        FileDescriptors.put(new Integer(0), new PrintStreamWrapper(System.out));
-        FileDescriptors.put(new Integer(1), new InputStreamWrapper(System.in));
+        FileDescriptors.put(new Integer(0), new InputStreamWrapper(System.in));
+        FileDescriptors.put(new Integer(1), new PrintStreamWrapper(System.out));
         FileDescriptors.put(new Integer(2), new PrintStreamWrapper(System.err));
         fdcount = 2;
     }



More information about the Pypy-commit mailing list