mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
Fix mismatched if blocks in posixmodule.c.
This commit is contained in:
parent
cc16be85c0
commit
513d7478a1
1 changed files with 1 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue