Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 140721 | Differences between
and this patch

Collapse All | Expand All

(-)rpm-4.2.1-orig/python/header-py.c (-1 / +1 lines)
Lines 434-440 static PyObject * hdr_subscript(hdrObjec Link Here
434
	while (extensions->name) {
434
	while (extensions->name) {
435
	    if (extensions->type == HEADER_EXT_TAG
435
	    if (extensions->type == HEADER_EXT_TAG
436
		&& !xstrcasecmp(extensions->name + 7, str)) {
436
		&& !xstrcasecmp(extensions->name + 7, str)) {
437
		(const struct headerSprintfExtension *) ext = extensions;
437
		ext = extensions;
438
	    }
438
	    }
439
	    extensions++;
439
	    extensions++;
440
	}
440
	}
(-)rpm-4.2.1-orig/python/rpmmodule.c (-1 / +1 lines)
Lines 269-275 void initrpm(void) Link Here
269
269
270
    while (extensions->name) {
270
    while (extensions->name) {
271
	if (extensions->type == HEADER_EXT_TAG) {
271
	if (extensions->type == HEADER_EXT_TAG) {
272
            (const struct headerSprintfExtension *) ext = extensions;
272
            ext = extensions;
273
            PyDict_SetItemString(d, (char *) extensions->name, o=PyCObject_FromVoidPtr(ext, NULL));
273
            PyDict_SetItemString(d, (char *) extensions->name, o=PyCObject_FromVoidPtr(ext, NULL));
274
	    Py_DECREF(o);
274
	    Py_DECREF(o);
275
            PyDict_SetItem(dict, tag, o=PyString_FromString(ext->name + 7));
275
            PyDict_SetItem(dict, tag, o=PyString_FromString(ext->name + 7));
(-)rpm-4.2.1-orig/python/rpmts-py.c (-1 / +1 lines)
Lines 27-33 Link Here
27
27
28
/*@unchecked@*/
28
/*@unchecked@*/
29
/*@-shadow@*/
29
/*@-shadow@*/
30
static int _rpmts_debug = 0;
30
extern int _rpmts_debug;
31
/*@=shadow@*/
31
/*@=shadow@*/
32
32
33
/*@access alKey @*/
33
/*@access alKey @*/

Return to bug 140721