[Python-checkins] python/dist/src/Modules zipimport.c,1.2,1.3
tim_one@users.sourceforge.net
tim_one@users.sourceforge.net
Mon, 30 Dec 2002 14:44:05 -0800
Update of /cvsroot/python/python/dist/src/Modules
In directory sc8-pr-cvs1:/tmp/cvs-serv18821/python/Modules
Modified Files:
zipimport.c
Log Message:
Squashed compiler wng from MSVC6.
Index: zipimport.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/zipimport.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** zipimport.c 30 Dec 2002 22:42:57 -0000 1.2
--- zipimport.c 30 Dec 2002 22:44:03 -0000 1.3
***************
*** 413,417 ****
#endif
len = PyString_Size(self->archive);
! if (len < strlen(path) &&
strncmp(path, PyString_AsString(self->archive), len) == 0 &&
path[len] == SEP) {
--- 413,417 ----
#endif
len = PyString_Size(self->archive);
! if ((size_t)len < strlen(path) &&
strncmp(path, PyString_AsString(self->archive), len) == 0 &&
path[len] == SEP) {