mirror of
https://github.com/python/cpython.git
synced 2025-07-23 11:15:24 +00:00
Patch from Trent Mick:
Fix a small bug in posixmodule.c where a char* is being dereferenced where it should not be.
This commit is contained in:
parent
28a5f44cca
commit
54c8dc2144
1 changed files with 1 additions and 1 deletions
|
@ -891,7 +891,7 @@ posix_listdir(self, args)
|
|||
|
||||
if (FindClose(hFindFile) == FALSE) {
|
||||
errno = GetLastError();
|
||||
return posix_error_with_filename(&name);
|
||||
return posix_error_with_filename(name);
|
||||
}
|
||||
|
||||
return d;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue