Created
January 22, 2014 01:06
-
-
Save Mouq/8551748 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/core/interp.c b/src/core/interp.c | |
index 5d8f0d5..12f19af 100644 | |
--- a/src/core/interp.c | |
+++ b/src/core/interp.c | |
@@ -3234,10 +3234,12 @@ void MVM_interp_run(MVMThreadContext *tc, void (*initial_invoke)(MVMThreadContex | |
cur_op += 4; | |
goto NEXT; | |
OP(getstdin): | |
+ printf("getstdin error before? %s\n", strerror(errno)); | |
if (!tc->instance->stdin_handle) | |
MVM_exception_throw_adhoc(tc, "STDIN filehandle was never initialized"); | |
GET_REG(cur_op, 0).o = tc->instance->stdin_handle; | |
cur_op += 2; | |
+ printf("getstdin error after? %s\n", strerror(errno)); | |
goto NEXT; | |
OP(getstdout): | |
if (!tc->instance->stdout_handle) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment