[pypy-commit] pypy default: (alex gaynor) fix getlogin to not break translation
justinpeel
noreply at buildbot.pypy.org
Sun Aug 28 00:04:37 CEST 2011
Author: Justin Peel <notmuchtotell at gmail.com>
Branch:
Changeset: r46832:db8707a7079e
Date: 2011-08-27 16:02 -0600
http://bitbucket.org/pypy/pypy/changeset/db8707a7079e/
Log: (alex gaynor) fix getlogin to not break translation
diff --git a/pypy/rpython/module/ll_os.py b/pypy/rpython/module/ll_os.py
--- a/pypy/rpython/module/ll_os.py
+++ b/pypy/rpython/module/ll_os.py
@@ -383,7 +383,7 @@
return extdef([int, int], s_None, llimpl=dup2_llimpl,
export_name="ll_os.ll_os_dup2")
- @registering(os.getlogin, condition=not _WIN32)
+ @registering_if(os, "getlogin", condition=not _WIN32)
def register_os_getlogin(self):
os_getlogin = self.llexternal('getlogin', [], rffi.CCHARP)
More information about the pypy-commit
mailing list