[pypy-svn] r45885 - pypy/branch/pypy-more-rtti-inprogress/translator/sandbox

arigo at codespeak.net arigo at codespeak.net
Mon Aug 20 17:39:01 CEST 2007


Author: arigo
Date: Mon Aug 20 17:39:00 2007
New Revision: 45885

Modified:
   pypy/branch/pypy-more-rtti-inprogress/translator/sandbox/rsandbox.py
Log:
Oups.


Modified: pypy/branch/pypy-more-rtti-inprogress/translator/sandbox/rsandbox.py
==============================================================================
--- pypy/branch/pypy-more-rtti-inprogress/translator/sandbox/rsandbox.py	(original)
+++ pypy/branch/pypy-more-rtti-inprogress/translator/sandbox/rsandbox.py	Mon Aug 20 17:39:00 2007
@@ -26,13 +26,13 @@
 # by the sandboxing mechanism
 ll_read_not_sandboxed = rffi.llexternal('read',
                                         [rffi.INT, rffi.CCHARP, rffi.SIZE_T],
-                                        rffi.SIZE_T)
-ll_read_not_sandboxed._obj._safe_not_sandboxed = True
+                                        rffi.SIZE_T,
+                                        sandboxsafe = True)
 
 ll_write_not_sandboxed = rffi.llexternal('write',
                                          [rffi.INT, rffi.CCHARP, rffi.SIZE_T],
-                                         rffi.SIZE_T)
-ll_write_not_sandboxed._obj._safe_not_sandboxed = True
+                                         rffi.SIZE_T,
+                                         sandboxsafe = True)
 
 def writeall_not_sandboxed(fd, buf, length):
     while length > 0:



More information about the Pypy-commit mailing list