[pypy-svn] r47060 - pypy/dist/pypy/module/crypt
cfbolz at codespeak.net
cfbolz at codespeak.net
Mon Oct 1 10:13:28 CEST 2007
Author: cfbolz
Date: Mon Oct 1 10:13:27 2007
New Revision: 47060
Modified:
pypy/dist/pypy/module/crypt/interp_crypt.py
Log:
it seems crypt is not threadsafe (if I interpret yesterdays IRC discussions right)
Modified: pypy/dist/pypy/module/crypt/interp_crypt.py
==============================================================================
--- pypy/dist/pypy/module/crypt/interp_crypt.py (original)
+++ pypy/dist/pypy/module/crypt/interp_crypt.py Mon Oct 1 10:13:27 2007
@@ -13,7 +13,7 @@
# cryptlib = cdll.LoadLibrary(dllname)
c_crypt = rffi.llexternal('crypt', [rffi.CCHARP, rffi.CCHARP], rffi.CCHARP,
- libraries=["crypt"])
+ libraries=["crypt"], threadsafe=False)
def crypt(space, word, salt):
"""word will usually be a user's password. salt is a 2-character string
More information about the Pypy-commit
mailing list