summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2013-06-04 22:37:12 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2013-06-04 22:37:12 (GMT)
commit5a4367600f865f57ccfc123d8eec4f7ca543ef05 (patch)
treed657962860d306d393a5aeefab726aa23b929185 /Modules
parente7e7eba1088ce27c14d27d4c7dc81e417dce3641 (diff)
downloadcpython-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.c4
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