Author: Brian Kearns <[email protected]>
Branch:
Changeset: r63387:8da09b1dbb90
Date: 2013-04-15 15:36 -0400
http://bitbucket.org/pypy/pypy/changeset/8da09b1dbb90/
Log: getenv also
diff --git a/rpython/rtyper/module/ll_os_environ.py
b/rpython/rtyper/module/ll_os_environ.py
--- a/rpython/rtyper/module/ll_os_environ.py
+++ b/rpython/rtyper/module/ll_os_environ.py
@@ -57,7 +57,7 @@
def r_getenv(name):
just_a_placeholder # should return None if name not found
-os_getenv = rffi.llexternal('getenv', [rffi.CCHARP], rffi.CCHARP)
+os_getenv = rffi.llexternal('getenv', [rffi.CCHARP], rffi.CCHARP,
threadsafe=False)
def getenv_llimpl(name):
l_name = rffi.str2charp(name)
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit