Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
7ed117ad
Commit
7ed117ad
authored
Dec 07, 2010
by
Hirokazu Yamamoto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue #10637: Called CloseHandle twice in os.stat/os.lstat (Windows)
parent
2c1ecc30
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
Modules/posixmodule.c
Modules/posixmodule.c
+4
-4
No files found.
Modules/posixmodule.c
View file @
7ed117ad
...
...
@@ -1159,8 +1159,8 @@ win32_xstat_impl(const char *path, struct win32_stat *result, BOOL traverse, int
free
(
target_path
);
return
code
;
}
}
CloseHandle
(
hFile
);
}
else
CloseHandle
(
hFile
);
}
attribute_data_to_stat
(
&
info
,
reparse_tag
,
result
);
...
...
@@ -1232,8 +1232,8 @@ win32_xstat_impl_w(const wchar_t *path, struct win32_stat *result, BOOL traverse
free
(
target_path
);
return
code
;
}
}
CloseHandle
(
hFile
);
}
else
CloseHandle
(
hFile
);
}
attribute_data_to_stat
(
&
info
,
reparse_tag
,
result
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment