diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2013-06-04 22:37:12 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2013-06-04 22:37:12 (GMT) |
commit | 5a4367600f865f57ccfc123d8eec4f7ca543ef05 (patch) | |
tree | d657962860d306d393a5aeefab726aa23b929185 /Modules | |
parent | e7e7eba1088ce27c14d27d4c7dc81e417dce3641 (diff) | |
download | cpython-5a4367600f865f57ccfc123d8eec4f7ca543ef05.zip cpython-5a4367600f865f57ccfc123d8eec4f7ca543ef05.tar.gz cpython-5a4367600f865f57ccfc123d8eec4f7ca543ef05.tar.bz2 |
Issue #13772: fix _check_dirA(): call *A() functions, not *W() functions
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/posixmodule.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c index cb89d5e..28e6f81 100644 --- a/Modules/posixmodule.c +++ b/Modules/posixmodule.c @@ -6844,9 +6844,9 @@ int _check_dirA(char *src, char *dest) /* dest_parent = os.path.dirname(dest) */ strcpy(dest_parent, dest); - _dirnameW(dest_parent); + _dirnameA(dest_parent); /* src_resolved = os.path.join(dest_parent, src) */ - _joinW(src_resolved, dest_parent, src); + _joinA(src_resolved, dest_parent, src); return ( GetFileAttributesExA(src_resolved, GetFileExInfoStandard, &src_info) && src_info.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY |