[New-bugs-announce] [issue10657] os.lstat/os.stat/os.fstat don't set st_dev (st_rdev) on Windows

Hirokazu Yamamoto report at bugs.python.org
Thu Dec 9 09:28:34 CET 2010

New submission from Hirokazu Yamamoto <ocean-city at m2.ccsnet.ne.jp>:

I noticed st_dev is not set yet. Attached patch
fill this value, but sometimes it becomes negative
value because dwVolumeSerialNumber is large enough.
Maybe st_dev should be declared as unsigned int.

# I think this is not new feature. Just bug. So I think
# this can go into python3.2.

components: Windows
files: py3k_add_st_dev_and_st_rdev.patch
keywords: patch
messages: 123673
nosy: ocean-city
priority: normal
severity: normal
status: open
title: os.lstat/os.stat/os.fstat don't set st_dev (st_rdev) on Windows
versions: Python 3.2, Python 3.3
Added file: http://bugs.python.org/file19984/py3k_add_st_dev_and_st_rdev.patch

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list