From: Andrew M. Kuchling Date: Tue, 6 Jun 2000 20:52:17 +0000 (+0000) Subject: Patch from Trent Mick: X-Git-Tag: v2.0b1~1566 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=54c8dc214404f9effea66aa8895ac5d44a9c3af6;p=thirdparty%2FPython%2Fcpython.git Patch from Trent Mick: Fix a small bug in posixmodule.c where a char* is being dereferenced where it should not be. --- diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c index 20efb0ebfc64..67096c315767 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;