From 5a4367600f865f57ccfc123d8eec4f7ca543ef05 Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Wed, 5 Jun 2013 00:37:12 +0200 Subject: Issue #13772: fix _check_dirA(): call *A() functions, not *W() functions --- Modules/posixmodule.c | 4 ++-- 1 file 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 -- cgit v0.12