##// END OF EJS Templates
parsers: use PyTuple_SET_ITEM() to fill new marker tuples...
Yuya Nishihara -
r26213:4d6cdea3 default
parent child Browse files
Show More
@@ -2564,7 +2564,7 b' static PyObject *readshas('
2564 2564 Py_DECREF(list);
2565 2565 return NULL;
2566 2566 }
2567 PyTuple_SetItem(list, i, hash);
2567 PyTuple_SET_ITEM(list, i, hash);
2568 2568 source += hashwidth;
2569 2569 }
2570 2570 return list;
@@ -2647,7 +2647,7 b' static PyObject *fm1readmarker(const cha'
2647 2647 if (!tmp) {
2648 2648 goto bail;
2649 2649 }
2650 PyTuple_SetItem(metadata, i, tmp);
2650 PyTuple_SET_ITEM(metadata, i, tmp);
2651 2651 }
2652 2652 ret = Py_BuildValue("(OOHO(di)O)", prec, succs, flags,
2653 2653 metadata, mtime, (int)tz * 60, parents);
General Comments 0
You need to be logged in to leave comments. Login now