diff options
author | Steve Dower <steve.dower@microsoft.com> | 2015-02-21 10:04:10 -0800 |
---|---|---|
committer | Steve Dower <steve.dower@microsoft.com> | 2015-02-21 10:04:10 -0800 |
commit | 89363ff86bc7a9bdce45baf22b2c89695efc50d0 (patch) | |
tree | 71c7b7f5c9426de1b63b58cc9aafa4addaa4d462 /Python/fileutils.c | |
parent | 4b5c8edd294f02afef7407d9fd5236789bd4bc34 (diff) | |
download | cpython-89363ff86bc7a9bdce45baf22b2c89695efc50d0.tar.gz |
Issue #23152: Renames attribute_data_to_stat to _Py_attribute_data_to_stat
Diffstat (limited to 'Python/fileutils.c')
-rw-r--r-- | Python/fileutils.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Python/fileutils.c b/Python/fileutils.c index 8f3fdca755..bf99e2d6bc 100644 --- a/Python/fileutils.c +++ b/Python/fileutils.c @@ -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; |