- fix: ds.Single() method needs malloc'd elements (#109919).

CVS patchset: 6980
CVS date: 2003/12/18 12:00:37
This commit is contained in:
jbj 2003-12-18 12:00:37 +00:00
parent 6db41ea31c
commit 4170ed7852
3 changed files with 4 additions and 0 deletions

View File

@ -15,6 +15,7 @@
- detect (and remove) dbenv files while upgrading to db-4.2.52.
- ensure that librpmdb links against just built, not system, librpmio.
- fix: dangling pointer brain fart (#107835).
- fix: ds.Single() method needs malloc'd elements (#109919).
4.2 -> 4.2.1:
- fix: nested %if handling, optind initialization posix vs. glibc.

View File

@ -425,6 +425,8 @@ rpmds_Single(/*@unused@*/ PyObject * s, PyObject * args)
return NULL;
}
}
if (N != NULL) N = xstrdup(N);
if (EVR != NULL) EVR = xstrdup(EVR);
return rpmds_Wrap( rpmdsSingle(tagN, N, EVR, Flags) );
}

View File

@ -491,6 +491,7 @@ exit 0
* Wed Dec 17 2003 Jeff Johnson <jbj@jbj.org> 4.2-0.3
- detect (and remove) dbenv files while upgrading to db-4.2.52.
- fix: dangling pointer brain fart (#107835).
- fix: ds.Single() method needs malloc'd elements (#109919).
* Sun Dec 7 2003 Jeff Johnson <jbj@jbj.org> 4.3-0.2
- only internal Berkeley db from now on.