Message178727
> 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.
> http://hg.python.org/cpython/rev/3738d270c54a
But than st_dev used as long in _pystat_fromstructstat(). Perhaps you should
check if st_dev is negative and then select
PyLong_FromLong/PyLong_FromLongLong or
PyLong_FromUnsignedLong/PyLong_FromUnsignedLongLong. |
|
Date |
User |
Action |
Args |
2013-01-01 09:26:51 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, amaury.forgeotdarc, brian.curtin, python-dev |
2013-01-01 09:26:51 | serhiy.storchaka | link | issue11939 messages |
2013-01-01 09:26:50 | serhiy.storchaka | create | |
|