equal
deleted
inserted
replaced
1308 interesting = calloc(sizeof(*interesting), 2 << revcount); |
1308 interesting = calloc(sizeof(*interesting), 2 << revcount); |
1309 if (interesting == NULL) { |
1309 if (interesting == NULL) { |
1310 PyErr_NoMemory(); |
1310 PyErr_NoMemory(); |
1311 goto bail; |
1311 goto bail; |
1312 } |
1312 } |
|
1313 |
|
1314 if (PyList_Sort(revs) == -1) |
|
1315 goto bail; |
1313 |
1316 |
1314 for (i = 0; i < revcount; i++) { |
1317 for (i = 0; i < revcount; i++) { |
1315 int n = (int)PyInt_AsLong(PyList_GET_ITEM(revs, i)); |
1318 int n = (int)PyInt_AsLong(PyList_GET_ITEM(revs, i)); |
1316 long b = 1l << i; |
1319 long b = 1l << i; |
1317 depth[n] = 1; |
1320 depth[n] = 1; |