Add a missing "rf.depth = 0;" to marshal_load().

Reported by Joe Smith.  This makes the CYGWIN tests pass;
it's a miracle it didn't fail on other platforms.
Seems like it was accidentally dropped (maybe a merge artifact?).
This commit is contained in:
Guido van Rossum 2007-07-30 00:04:35 +00:00
parent 447d33ead6
commit 7a2653438a

View File

@ -1181,6 +1181,7 @@ marshal_load(PyObject *self, PyObject *f)
return NULL;
}
rf.strings = PyList_New(0);
rf.depth = 0;
result = read_object(&rf);
Py_DECREF(rf.strings);
Py_DECREF(data);