changeset 42343 | d8e55c0c642c |
parent 34438 | b90e8da190da |
child 43149 | 2a0774e9d2a8 |
42342:448486e12c13 | 42343:d8e55c0c642c |
---|---|
40 while (pos != -1) { |
40 while (pos != -1) { |
41 if (path[pos] == '/') |
41 if (path[pos] == '/') |
42 break; |
42 break; |
43 pos -= 1; |
43 pos -= 1; |
44 } |
44 } |
45 if (pos == -1) { |
|
46 return 0; |
|
47 } |
|
45 |
48 |
46 return pos; |
49 return pos; |
47 } |
50 } |
48 |
51 |
49 static int _addpath(PyObject *dirs, PyObject *path) |
52 static int _addpath(PyObject *dirs, PyObject *path) |