author | John Beck <John.Beck@Oracle.COM> |
Mon, 06 Oct 2014 13:15:36 -0700 | |
branch | s11u2-sru |
changeset 3379 | e99da14b537a |
permissions | -rw-r--r-- |
3379 | 1 |
# http://bugs.python.org/issue17964 was fixed in 3.4 but not back-ported so we |
2 |
# need this patch for 2.7 . |
|
3 |
||
4 |
--- Python-2.7.7/Modules/posixmodule.c.~2~ 2014-06-02 11:01:10.919544709 -0700 |
|
5 |
+++ Python-2.7.7/Modules/posixmodule.c 2014-06-02 11:01:11.009553336 -0700 |
|
6 |
@@ -8499,7 +8499,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); |