diff options
author | jbj <devnull@localhost> | 2002-04-14 21:48:44 +0000 |
---|---|---|
committer | jbj <devnull@localhost> | 2002-04-14 21:48:44 +0000 |
commit | b463db44dced1a5dd6bab2cb04e8f1a55aa72c67 (patch) | |
tree | 8798f1833bd6834a790f370b21a20b1141316496 /lib/rpmds.c | |
parent | e6ebdb1d9fe1fb6077dacd6be378bab982ddcd34 (diff) | |
download | librpm-tizen-b463db44dced1a5dd6bab2cb04e8f1a55aa72c67.tar.gz librpm-tizen-b463db44dced1a5dd6bab2cb04e8f1a55aa72c67.tar.bz2 librpm-tizen-b463db44dced1a5dd6bab2cb04e8f1a55aa72c67.zip |
- use build time to choose one of multiple alternative suggestions.
- add --nosuggests to disable suggested resolutions.
- splint fiddles.
CVS patchset: 5406
CVS date: 2002/04/14 21:48:44
Diffstat (limited to 'lib/rpmds.c')
-rw-r--r-- | lib/rpmds.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/rpmds.c b/lib/rpmds.c index bbd5685b7..4275640fc 100644 --- a/lib/rpmds.c +++ b/lib/rpmds.c @@ -671,7 +671,8 @@ int headerMatchesDepFlags(const Header h, const rpmDepSet req) /* Get package information from header */ (void) headerNVR(h, &pkgN, &v, &r); - pkgEVR = t = alloca(21 + strlen(v) + 1 + strlen(r) + 1); + t = alloca(21 + strlen(v) + 1 + strlen(r) + 1); + pkgEVR = t; *t = '\0'; if (hge(h, RPMTAG_EPOCH, NULL, (void **) &epoch, NULL)) { sprintf(t, "%d:", *epoch); |