Skip to content

Instantly share code, notes, and snippets.

@ice799
Created April 17, 2009 05:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ice799/96876 to your computer and use it in GitHub Desktop.
Save ice799/96876 to your computer and use it in GitHub Desktop.
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