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

NotFound at svn.parrot.org NotFound at svn.parrot.org
Wed Jun 10 16:36:14 UTC 2009


Author: NotFound
Date: Wed Jun 10 16:36:13 2009
New Revision: 39497
URL: https://trac.parrot.org/parrot/changeset/39497

Log:
[io] Fix bizarre last branch of Parrot_io_open

Modified:
   trunk/src/io/api.c

Modified: trunk/src/io/api.c
==============================================================================
--- trunk/src/io/api.c	Wed Jun 10 15:26:37 2009	(r39496)
+++ trunk/src/io/api.c	Wed Jun 10 16:36:13 2009	(r39497)
@@ -151,7 +151,7 @@
         filehandle = pmc;
     }
     else
-        Parrot_PCCINVOKE(interp, new_filehandle, CONST_STRING(interp, "read"), "SS->P", path, mode, &open);
+        Parrot_PCCINVOKE(interp, new_filehandle, CONST_STRING(interp, "open"), "SS->P", path, mode, &filehandle);
     return filehandle;
 }
 


More information about the parrot-commits mailing list