Author: Christian Tismer <[email protected]>
Branch: win64_gborg
Changeset: r48976:10717241c974
Date: 2011-11-09 01:32 +0100
http://bitbucket.org/pypy/pypy/changeset/10717241c974/
Log: test_ll_os_stat works now as well
diff --git a/pypy/rpython/module/ll_os_stat.py
b/pypy/rpython/module/ll_os_stat.py
--- a/pypy/rpython/module/ll_os_stat.py
+++ b/pypy/rpython/module/ll_os_stat.py
@@ -319,6 +319,7 @@
assert len(STAT_FIELDS) == 10 # no extra fields on Windows
def attributes_to_mode(attributes):
+ attributes = lltype.r_uint(attributes)
m = 0
if attributes & win32traits.FILE_ATTRIBUTE_DIRECTORY:
m |= win32traits._S_IFDIR | 0111 # IFEXEC for user,group,other
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit