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

2012-12-31 Thread Roundup Robot
Roundup Robot added the comment: New changeset 3738d270c54a by Brian Curtin in branch 'default': st_dev/st_rdev should be unsigned long as dwVolumeSerialNumber, which it is set to, is a DWORD. This was fixed in #11939 and the overflow was mentioned in #10657 and seen by me on some machines. htt

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

2012-12-31 Thread Brian Curtin
Changes by Brian Curtin : -- resolution: -> duplicate stage: -> committed/rejected status: open -> closed superseder: -> Implement stat.st_dev and os.path.samefile on windows ___ Python tracker _

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

2012-12-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: This was implemented in issue11939 for Python 3.4 only. -- nosy: +brian.curtin, serhiy.storchaka ___ Python tracker ___ __

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

2010-12-09 Thread Hirokazu Yamamoto
New submission from Hirokazu Yamamoto : 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