##// END OF EJS Templates
dirs: inline string macros...
Gregory Szorc -
r30104:63e1dca2 default
parent child Browse files
Show More
@@ -61,8 +61,8 b' static int _addpath(PyObject *dirs, PyOb'
61 61 if (key == NULL)
62 62 goto bail;
63 63 }
64 PyString_GET_SIZE(key) = pos;
65 PyString_AS_STRING(key)[pos] = '\0';
64 Py_SIZE(key) = pos;
65 ((PyStringObject *)key)->ob_sval[pos] = '\0';
66 66
67 67 val = PyDict_GetItem(dirs, key);
68 68 if (val != NULL) {
General Comments 0
You need to be logged in to leave comments. Login now