diff options
author | Steve Dower <steve.dower@microsoft.com> | 2015-02-21 18:04:10 (GMT) |
---|---|---|
committer | Steve Dower <steve.dower@microsoft.com> | 2015-02-21 18:04:10 (GMT) |
commit | a2af1a5a5a73064328246f6c2b2233365e54acf3 (patch) | |
tree | b13880b86f97bebed3e13bfa2dd7139bbe5200e0 /Python | |
parent | f2f373f5931be48efc3f6fa2c2faa1cca79dce75 (diff) | |
download | cpython-a2af1a5a5a73064328246f6c2b2233365e54acf3.zip cpython-a2af1a5a5a73064328246f6c2b2233365e54acf3.tar.gz cpython-a2af1a5a5a73064328246f6c2b2233365e54acf3.tar.bz2 |
Issue #23152: Renames attribute_data_to_stat to _Py_attribute_data_to_stat
Diffstat (limited to 'Python')
-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 8f3fdca..bf99e2d 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; |