summaryrefslogtreecommitdiffstats
path: root/Modules/posixmodule.c
diff options
context:
space:
mode:
authorAndrew M. Kuchling <amk@amk.ca>2000-06-06 20:52:17 (GMT)
committerAndrew M. Kuchling <amk@amk.ca>2000-06-06 20:52:17 (GMT)
commit54c8dc214404f9effea66aa8895ac5d44a9c3af6 (patch)
tree764b9f162d4dc9ddbad07ea4a59c04c8ffff6779 /Modules/posixmodule.c
parent28a5f44cca9c5f6abe319f3a446bf057d66e980e (diff)
downloadcpython-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.
Diffstat (limited to 'Modules/posixmodule.c')
-rw-r--r--Modules/posixmodule.c2
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;