bpo-29619: Convert st_ino using unsigned integer (#557)

bpo-29619: os.stat() and os.DirEntry.inodeo() now convert inode
(st_ino) using unsigned integers.
This commit is contained in:
Victor Stinner 2017-03-09 17:34:28 +01:00 committed by GitHub
parent feccdb2a24
commit 0f6d73343d
4 changed files with 15 additions and 9 deletions

View file

@ -22,7 +22,7 @@ PyAPI_FUNC(PyObject *) _Py_device_encoding(int);
#ifdef MS_WINDOWS
struct _Py_stat_struct {
unsigned long st_dev;
__int64 st_ino;
uint64_t st_ino;
unsigned short st_mode;
int st_nlink;
int st_uid;