Author: Brian Kearns <[email protected]>
Branch:
Changeset: r63385:3cc08cd87e88
Date: 2013-04-15 15:25 -0400
http://bitbucket.org/pypy/pypy/changeset/3cc08cd87e88/
Log: mark getlogin as not threadsafe
diff --git a/rpython/rtyper/module/ll_os.py b/rpython/rtyper/module/ll_os.py
--- a/rpython/rtyper/module/ll_os.py
+++ b/rpython/rtyper/module/ll_os.py
@@ -425,7 +425,7 @@
@registering_if(os, "getlogin", condition=not _WIN32)
def register_os_getlogin(self):
- os_getlogin = self.llexternal('getlogin', [], rffi.CCHARP)
+ os_getlogin = self.llexternal('getlogin', [], rffi.CCHARP,
threadsafe=False)
def getlogin_llimpl():
result = os_getlogin()
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit