[Python-checkins] python/dist/src/Modules posixmodule.c, 2.300,
2.301
mhammond at users.sourceforge.net
mhammond at users.sourceforge.net
Tue Aug 5 20:47:00 EDT 2003
Update of /cvsroot/python/python/dist/src/Modules
In directory sc8-pr-cvs1:/tmp/cvs-serv23522/Modules
Modified Files:
posixmodule.c
Log Message:
Demonstrate and fix [ 783882 ] os.lstat crashes with Unicode filename.
Will also check in on the 2.3 branch.
Index: posixmodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/posixmodule.c,v
retrieving revision 2.300
retrieving revision 2.301
diff -C2 -d -r2.300 -r2.301
*** posixmodule.c 11 Jun 2003 00:18:09 -0000 2.300
--- posixmodule.c 6 Aug 2003 02:46:58 -0000 2.301
***************
*** 4608,4612 ****
#else /* !HAVE_LSTAT */
#ifdef MS_WINDOWS
! return posix_do_stat(self, args, "et:lstat", STAT, "u:lstat", _wstati64);
#else
return posix_do_stat(self, args, "et:lstat", STAT, NULL, NULL);
--- 4608,4612 ----
#else /* !HAVE_LSTAT */
#ifdef MS_WINDOWS
! return posix_do_stat(self, args, "et:lstat", STAT, "U:lstat", _wstati64);
#else
return posix_do_stat(self, args, "et:lstat", STAT, NULL, NULL);
More information about the Python-checkins
mailing list