[svn:parrot] r47283 - trunk/runtime/parrot/library

plobsing at svn.parrot.org plobsing at svn.parrot.org
Wed Jun 2 06:00:13 UTC 2010


Author: plobsing
Date: Wed Jun  2 06:00:12 2010
New Revision: 47283
URL: https://trac.parrot.org/parrot/changeset/47283

Log:
loadlib at runtime to avoid newly-failing compilations thanks to TT #437 fix

Modified:
   trunk/runtime/parrot/library/parrotlib.pir

Modified: trunk/runtime/parrot/library/parrotlib.pir
==============================================================================
--- trunk/runtime/parrot/library/parrotlib.pir	Wed Jun  2 05:43:56 2010	(r47282)
+++ trunk/runtime/parrot/library/parrotlib.pir	Wed Jun  2 06:00:12 2010	(r47283)
@@ -19,8 +19,6 @@
 
 =cut
 
-.loadlib 'os'
-
 .sub __onload :load
     .local pmc paths
     .local pmc includes
@@ -133,6 +131,7 @@
     .local pmc    os
     .local string name
 
+    $P0 = loadlib 'os'
     os = new ['OS']
 
     name = request
@@ -202,6 +201,7 @@
     path = $P0
 
     $S0 = concat path, name
+    $P0 = loadlib 'os'
     $P0 = new ['OS']
     push_eh FILE_NOT_FOUND
         # OS.stat throws on file not found


More information about the parrot-commits mailing list