Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:olh:SLE_11
python-base
python-2.6.8-dbm-ssize.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-2.6.8-dbm-ssize.patch of Package python-base
--- Python-2.6.8/Modules/dbmmodule.c.x 2012-05-10 23:17:20.000000000 +0200 +++ Python-2.6.8/Modules/dbmmodule.c 2012-05-10 23:18:04.000000000 +0200 @@ -168,11 +168,13 @@ dbm_contains(register dbmobject *dp, PyObject *v) { datum key, val; + Py_ssize_t kdsize; if (PyString_AsStringAndSize(v, (char **)&key.dptr, - (Py_ssize_t *)&key.dsize)) { + &kdsize)) { return -1; } + key.dsize = kdsize; /* Expand check_dbmobject_open to return -1 */ if (dp->di_dbm == NULL) {
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