mirror of https://github.com/python/cpython
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
|
@ -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…
Reference in New Issue