python27: use absolute path to dtrace(8)
[unleashed-userland.git] / components / python / python27 / patches / 18-osconf-long.patch
blob3ffe54eb440c5c58d3476f645d6d1040acd8642a
1 # http://bugs.python.org/issue17964 was fixed in 3.4 but not back-ported so we
2 # need this patch for 2.7 .
4 --- Python-2.7.6/Modules/posixmodule.c.~2~ 2014-05-14 13:45:28.562707441 -0700
5 +++ Python-2.7.6/Modules/posixmodule.c 2014-05-14 13:45:28.718886370 -0700
6 @@ -8469,7 +8469,7 @@
7 int name;
9 if (PyArg_ParseTuple(args, "O&:sysconf", conv_sysconf_confname, &name)) {
10 - int value;
11 + long value;
13 errno = 0;
14 value = sysconf(name);