[pypy-svn] r68841 - pypy/branch/logging/pypy/rlib
arigo at codespeak.net
arigo at codespeak.net
Thu Oct 29 11:51:22 CET 2009
Author: arigo
Date: Thu Oct 29 11:51:20 2009
New Revision: 68841
Modified:
pypy/branch/logging/pypy/rlib/rlog_ll.py
Log:
Mumble mumble. Must also read this env var with _nowrapper=True.
Modified: pypy/branch/logging/pypy/rlib/rlog_ll.py
==============================================================================
--- pypy/branch/logging/pypy/rlib/rlog_ll.py (original)
+++ pypy/branch/logging/pypy/rlib/rlog_ll.py Thu Oct 29 11:51:20 2009
@@ -3,7 +3,6 @@
from pypy.rlib.rarithmetic import r_uint, r_singlefloat
from pypy.rlib.rlog import AbstractLogWriter, SIZEOF_FLOAT
from pypy.rpython.lltypesystem import lltype, rffi
-from pypy.rpython.module.ll_os_environ import os_getenv
from pypy.rpython.module.ll_os import underscore_on_windows
os_write = rffi.llexternal(underscore_on_windows+'write',
@@ -12,6 +11,8 @@
os_open = rffi.llexternal(underscore_on_windows+'open',
[rffi.CCHARP, rffi.INT, rffi.MODE_T],
rffi.INT, _nowrapper=True)
+os_getenv = rffi.llexternal('getenv', [rffi.CCHARP], rffi.CCHARP,
+ _nowrapper=True)
l_pypylog = rffi.str2charp('PYPYLOG')
More information about the Pypy-commit
mailing list