[pypy-svn] r75860 - pypy/branch/fast-ctypes/pypy/rlib

getxsick at codespeak.net getxsick at codespeak.net
Mon Jul 5 21:48:59 CEST 2010


Author: getxsick
Date: Mon Jul  5 21:48:58 2010
New Revision: 75860

Modified:
   pypy/branch/fast-ctypes/pypy/rlib/rjitffi.py
Log:
next step to be more RPython

Modified: pypy/branch/fast-ctypes/pypy/rlib/rjitffi.py
==============================================================================
--- pypy/branch/fast-ctypes/pypy/rlib/rjitffi.py	(original)
+++ pypy/branch/fast-ctypes/pypy/rlib/rjitffi.py	Mon Jul  5 21:48:58 2010
@@ -22,7 +22,7 @@
 class _LibHandler(object):
     def __init__(self, name):
         try:
-            self.handler = rdynload.dlopen(name)
+            self.handler = rdynload.dlopen(rffi.str2charp(name))
         except rdynload.DLOpenError, e:
             raise OSError('%s: %s', name, e.msg or 'unspecified error')
 



More information about the Pypy-commit mailing list