mirror of
https://github.com/python/cpython.git
synced 2025-08-02 08:02:56 +00:00
Squashed compiler wng from MSVC6.
This commit is contained in:
parent
1ea93f2b1d
commit
f271c272a2
1 changed files with 1 additions and 1 deletions
|
@ -412,7 +412,7 @@ zipimporter_get_data(PyObject *obj, PyObject *args)
|
||||||
path = buf;
|
path = buf;
|
||||||
#endif
|
#endif
|
||||||
len = PyString_Size(self->archive);
|
len = PyString_Size(self->archive);
|
||||||
if (len < strlen(path) &&
|
if ((size_t)len < strlen(path) &&
|
||||||
strncmp(path, PyString_AsString(self->archive), len) == 0 &&
|
strncmp(path, PyString_AsString(self->archive), len) == 0 &&
|
||||||
path[len] == SEP) {
|
path[len] == SEP) {
|
||||||
path = path + len + 1;
|
path = path + len + 1;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue