components/python/python27/patches/18-osconf-long.patch
changeset 1914 00e8dbcb9b1e
parent 1468 07b38c2bfed7
child 1954 32663e59626d
equal deleted inserted replaced
1913:bf893655bc39 1914:00e8dbcb9b1e
     1 # http://bugs.python.org/issue17964 was fixed in 3.4 but not back-ported so we
     1 # http://bugs.python.org/issue17964 was fixed in 3.4 but not back-ported so we
     2 # need this patch for 2.7 .
     2 # need this patch for 2.7 .
     3 
     3 
     4 --- Python-2.7.3/Modules/posixmodule.c.orig	2013-09-10 14:48:19.058672610 -0700
     4 --- Python-2.7.6/Modules/posixmodule.c.~2~	2014-05-14 13:45:28.562707441 -0700
     5 +++ Python-2.7.3/Modules/posixmodule.c	2013-09-10 14:48:49.872618578 -0700
     5 +++ Python-2.7.6/Modules/posixmodule.c	2014-05-14 13:45:28.718886370 -0700
     6 @@ -8356,7 +8356,7 @@
     6 @@ -8469,7 +8469,7 @@
     7      int name;
     7      int name;
     8  
     8  
     9      if (PyArg_ParseTuple(args, "O&:sysconf", conv_sysconf_confname, &name)) {
     9      if (PyArg_ParseTuple(args, "O&:sysconf", conv_sysconf_confname, &name)) {
    10 -        int value;
    10 -        int value;
    11 +        long value;
    11 +        long value;