Author: Christian Tismer <[email protected]>
Branch: win64-stage1
Changeset: r53640:b4c70c760854
Date: 2012-03-14 19:24 -0700
http://bitbucket.org/pypy/pypy/changeset/b4c70c760854/
Log: reverting a change which is wrong meanwhile
diff --git a/pypy/rlib/rdynload.py b/pypy/rlib/rdynload.py
--- a/pypy/rlib/rdynload.py
+++ b/pypy/rlib/rdynload.py
@@ -120,9 +120,6 @@
res = rwin32.LoadLibrary(name)
if not res:
err = rwin32.GetLastError()
- err = rffi.cast(rwin32.DWORD, err) # why?
- # XXX this must not be needed, something else is wrong.
- # remove ASAP after finding the reason for this
raise DLOpenError(rwin32.FormatError(err))
return res
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit