Created
April 17, 2009 05:41
-
-
Save ice799/96876 to your computer and use it in GitHub Desktop.
This file contains hidden or 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/main.c b/main.c | |
index a93d8cb..72b7331 100644 | |
--- a/main.c | |
+++ b/main.c | |
@@ -42,7 +42,8 @@ main(argc, argv, envp) | |
#endif | |
{ | |
- RUBY_INIT_STACK | |
+ asm ("pushf; orl $(1 << 18), (%esp); popf;"); | |
+ RUBY_INIT_STACK | |
ruby_init(); | |
ruby_options(argc, argv); | |
ruby_run(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment