changeset 4984 | 7145b15b7f0d |
parent 4983 | db2589571faa |
child 4985 | eed3576cafd0 |
4983:db2589571faa | 4984:7145b15b7f0d |
---|---|
1 # http://bugs.python.org/issue17964 was fixed in 3.4 but not back-ported so we |
|
2 # need this patch for 2.6 . |
|
3 |
|
4 --- Python-2.6.8/Modules/posixmodule.c.orig 2013-09-10 14:48:19.058672610 -0700 |
|
5 +++ Python-2.6.8/Modules/posixmodule.c 2013-09-10 14:48:49.872618578 -0700 |
|
6 @@ -8188,7 +8188,7 @@ |
|
7 int name; |
|
8 |
|
9 if (PyArg_ParseTuple(args, "O&:sysconf", conv_sysconf_confname, &name)) { |
|
10 - int value; |
|
11 + long value; |
|
12 |
|
13 errno = 0; |
|
14 value = sysconf(name); |