components/python/python27/patches/18-osconf-long.patch
branchs11u2-sru
changeset 3379 e99da14b537a
equal deleted inserted replaced
3375:3724eda7445e 3379:e99da14b537a
       
     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);