diff options
author | Andrew M. Kuchling <amk@amk.ca> | 2000-06-06 20:52:17 (GMT) |
---|---|---|
committer | Andrew M. Kuchling <amk@amk.ca> | 2000-06-06 20:52:17 (GMT) |
commit | 54c8dc214404f9effea66aa8895ac5d44a9c3af6 (patch) | |
tree | 764b9f162d4dc9ddbad07ea4a59c04c8ffff6779 | |
parent | 28a5f44cca9c5f6abe319f3a446bf057d66e980e (diff) | |
download | cpython-54c8dc214404f9effea66aa8895ac5d44a9c3af6.zip cpython-54c8dc214404f9effea66aa8895ac5d44a9c3af6.tar.gz cpython-54c8dc214404f9effea66aa8895ac5d44a9c3af6.tar.bz2 |
Patch from Trent Mick:
Fix a small bug in posixmodule.c where a char* is being
dereferenced where it should not be.
-rw-r--r-- | Modules/posixmodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c index 20efb0e..67096c3 100644 --- a/Modules/posixmodule.c +++ b/Modules/posixmodule.c @@ -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; |