[pypy-commit] pypy default: Fix translation (and you know.. functionality) on windows.
alex_gaynor
noreply at buildbot.pypy.org
Sun Sep 11 04:04:30 CEST 2011
Author: Alex Gaynor <alex.gaynor at gmail.com>
Branch:
Changeset: r47199:84ad4c442f43
Date: 2011-09-10 19:04 -0700
http://bitbucket.org/pypy/pypy/changeset/84ad4c442f43/
Log: Fix translation (and you know.. functionality) on windows.
diff --git a/pypy/rlib/rwin32.py b/pypy/rlib/rwin32.py
--- a/pypy/rlib/rwin32.py
+++ b/pypy/rlib/rwin32.py
@@ -235,7 +235,7 @@
@jit.dont_look_inside
def GetVersionEx():
- info = lltype.malloc(OSVERSIONINFO, flavor='raw')
+ info = lltype.malloc(OSVERSIONINFOEX, flavor='raw')
rffi.setintfield(info, 'c_dwOSVersionInfoSize',
rffi.sizeof(OSVERSIONINFOEX))
try:
More information about the pypy-commit
mailing list