mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Issue #23152: Renames attribute_data_to_stat to _Py_attribute_data_to_stat
This commit is contained in:
parent
f2f373f593
commit
a2af1a5a5a
2 changed files with 5 additions and 5 deletions
|
@ -592,7 +592,7 @@ attributes_to_mode(DWORD attr)
|
|||
}
|
||||
|
||||
int
|
||||
attribute_data_to_stat(BY_HANDLE_FILE_INFORMATION *info, ULONG reparse_tag, struct _Py_stat_struct *result)
|
||||
_Py_attribute_data_to_stat(BY_HANDLE_FILE_INFORMATION *info, ULONG reparse_tag, struct _Py_stat_struct *result)
|
||||
{
|
||||
memset(result, 0, sizeof(*result));
|
||||
result->st_mode = attributes_to_mode(info->dwFileAttributes);
|
||||
|
@ -671,7 +671,7 @@ _Py_fstat(int fd, struct _Py_stat_struct *result)
|
|||
return -1;
|
||||
}
|
||||
|
||||
attribute_data_to_stat(&info, 0, result);
|
||||
_Py_attribute_data_to_stat(&info, 0, result);
|
||||
/* specific to fstat() */
|
||||
result->st_ino = (((__int64)info.nFileIndexHigh)<<32) + info.nFileIndexLow;
|
||||
return 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue