[Python-checkins] CVS: python/dist/src/Modules posixmodule.c,2.135,2.136
A.M. Kuchling
python-dev@python.org
Tue, 6 Jun 2000 13:52:20 -0700
Update of /cvsroot/python/python/dist/src/Modules
In directory slayer.i.sourceforge.net:/tmp/cvs-serv24342
Modified Files:
posixmodule.c
Log Message:
Patch from Trent Mick:
Fix a small bug in posixmodule.c where a char* is being
dereferenced where it should not be.
Index: posixmodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/posixmodule.c,v
retrieving revision 2.135
retrieving revision 2.136
diff -C2 -r2.135 -r2.136
*** posixmodule.c 2000/06/01 02:02:46 2.135
--- posixmodule.c 2000/06/06 20:52:17 2.136
***************
*** 892,896 ****
if (FindClose(hFindFile) == FALSE) {
errno = GetLastError();
! return posix_error_with_filename(&name);
}
--- 892,896 ----
if (FindClose(hFindFile) == FALSE) {
errno = GetLastError();
! return posix_error_with_filename(name);
}