mirror of
https://github.com/python/cpython.git
synced 2025-07-07 19:35:27 +00:00
gh-101810: Remove duplicated st_ino calculation (GH-101811)
This commit is contained in:
parent
2db2c4b455
commit
95cbb3d908
1 changed files with 0 additions and 2 deletions
|
@ -1162,8 +1162,6 @@ _Py_fstat_noraise(int fd, struct _Py_stat_struct *status)
|
|||
}
|
||||
|
||||
_Py_attribute_data_to_stat(&info, 0, status);
|
||||
/* specific to fstat() */
|
||||
status->st_ino = (((uint64_t)info.nFileIndexHigh) << 32) + info.nFileIndexLow;
|
||||
return 0;
|
||||
#else
|
||||
return fstat(fd, status);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue