Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Step:15-SP4
python-python-prctl
bigendian.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File bigendian.patch of Package python-python-prctl
Index: python-prctl-1.7/_prctlmodule.c =================================================================== --- python-prctl-1.7.orig/_prctlmodule.c +++ python-prctl-1.7/_prctlmodule.c @@ -50,6 +50,7 @@ prctl_prctl(PyObject *self, PyObject *ar { long option = 0; long arg = 0; + int intarg = 0; char *argstr = NULL; char name[17] = "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"; int result; @@ -286,12 +287,12 @@ prctl_prctl(PyObject *self, PyObject *ar #ifdef PR_GET_TID_ADDRESS case(PR_GET_TID_ADDRESS): #endif - result = prctl(option, &arg, 0, 0, 0); + result = prctl(option, &intarg, 0, 0, 0); if(result < 0) { PyErr_SetFromErrno(PyExc_OSError); return NULL; } - return PyInt_FromLong(arg); + return PyInt_FromLong(intarg); case(PR_SET_NAME): case(PR_GET_NAME): result = prctl(option, name, 0, 0, 0);
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor