components/python/python27/patches/18-osconf-long.patch
changeset 7516 09c933391a1b
parent 4698 4e27e549b58d
equal deleted inserted replaced
7513:0a979060f73b 7516:09c933391a1b
     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.10/Modules/posixmodule.c.~2~	2015-05-10 10:17:06 -0700
     4 --- Python-2.7.10/Modules/posixmodule.c.~2~	2015-05-10 10:17:06 -0700
     5 +++ Python-2.7.10/Modules/posixmodule.c	2015-05-18 14:47:21 -0700
     5 +++ Python-2.7.10/Modules/posixmodule.c	2015-05-18 14:47:21 -0700
     6 @@ -8555,7 +8555,7 @@
     6 @@ -8538,7 +8538,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;