Author: Armin Rigo <[email protected]>
Branch: release-1.6.x
Changeset: r46505:f44624a9c541
Date: 2011-08-14 22:08 +0200
http://bitbucket.org/pypy/pypy/changeset/f44624a9c541/
Log: Win32 fix. (transplanted from
a91a0cb0e3e797be2bfd5969c8339013d3d1309d)
diff --git a/pypy/rlib/rwin32.py b/pypy/rlib/rwin32.py
--- a/pypy/rlib/rwin32.py
+++ b/pypy/rlib/rwin32.py
@@ -93,7 +93,7 @@
INVALID_HANDLE_VALUE = rffi.cast(HANDLE, -1)
PFILETIME = rffi.CArrayPtr(FILETIME)
- GetLastError = winexternal('GetLastError', [], DWORD)
+ GetLastError = winexternal('GetLastError', [], DWORD, threadsafe=False)
SetLastError = winexternal('SetLastError', [DWORD], lltype.Void)
# In tests, the first call to GetLastError is always wrong, because error
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit