From 513d7478a136e7646075592da2593476299cc8be Mon Sep 17 00:00:00 2001 From: Steve Dower Date: Thu, 8 Sep 2016 10:41:50 -0700 Subject: Fix mismatched if blocks in posixmodule.c. --- Modules/posixmodule.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c index a39ea65..4f5ec99 100644 --- a/Modules/posixmodule.c +++ b/Modules/posixmodule.c @@ -2068,9 +2068,8 @@ posix_do_stat(const char *function_name, path_t *path, Py_BEGIN_ALLOW_THREADS if (path->fd != -1) result = FSTAT(path->fd, &st); - else #ifdef MS_WINDOWS - if (follow_symlinks) + else if (follow_symlinks) result = win32_stat(path->wide, &st); else result = win32_lstat(path->wide, &st); -- cgit v0.12