Created
June 26, 2010 09:48
-
-
Save uasi/453937 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/src/glue/run.pir b/src/glue/run.pir | |
index 3ff1a93..1da169c 100644 | |
--- a/src/glue/run.pir | |
+++ b/src/glue/run.pir | |
@@ -105,6 +105,12 @@ of the compilation unit. | |
$P2 = '&CREATE_HASH_FROM_LOW_LEVEL'(env) | |
set_hll_global '%ENV', $P2 | |
+ # Set up $*OSNAME | |
+ .local pmc osname | |
+ $S0 = sysinfo 4 | |
+ osname = box $S0 | |
+ set_hll_global ['PROCESS'], '$OSNAME', osname | |
+ | |
# INIT time | |
'!fire_phasers'('INIT') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment