[svn:parrot] r46067 - trunk/examples/nci

NotFound at svn.parrot.org NotFound at svn.parrot.org
Tue Apr 27 17:22:14 UTC 2010


Author: NotFound
Date: Tue Apr 27 17:22:14 2010
New Revision: 46067
URL: https://trac.parrot.org/parrot/changeset/46067

Log:
fix Xlib search in example Xlib module

Modified:
   trunk/examples/nci/Xlib.pir

Modified: trunk/examples/nci/Xlib.pir
==============================================================================
--- trunk/examples/nci/Xlib.pir	Tue Apr 27 17:18:51 2010	(r46066)
+++ trunk/examples/nci/Xlib.pir	Tue Apr 27 17:22:14 2010	(r46067)
@@ -67,10 +67,12 @@
     if xlib goto store
 check2:
     xlib = loadlib 'libX11.so'
+    $I0 = defined xlib
     unless $I0 goto check3
     if xlib goto store
 check3:
     xlib = loadlib 'libX11.so.6'
+    $I0 = defined xlib
     unless $I0 goto check4
     if xlib goto store
 check4:


More information about the parrot-commits mailing list