diff options
author | jbj <devnull@localhost> | 2001-05-31 22:31:14 +0000 |
---|---|---|
committer | jbj <devnull@localhost> | 2001-05-31 22:31:14 +0000 |
commit | f5ebe3fb424b215dbd455cabd37f5ea56bd5dbff (patch) | |
tree | bd022b76822e483d6133c63c5fa056a750f6b4d9 /lib/rpmrc.c | |
parent | f8b347a38aeb9a8c90739f3cd2cd2d5c5e46fcce (diff) | |
download | librpm-tizen-f5ebe3fb424b215dbd455cabd37f5ea56bd5dbff.tar.gz librpm-tizen-f5ebe3fb424b215dbd455cabd37f5ea56bd5dbff.tar.bz2 librpm-tizen-f5ebe3fb424b215dbd455cabd37f5ea56bd5dbff.zip |
- return multiple suggested packages (Pawel Kolodziej <pawelk@pld.org.pl>).
- fix: return suggested packages when using Depends cache.
CVS patchset: 4823
CVS date: 2001/05/31 22:31:14
Diffstat (limited to 'lib/rpmrc.c')
-rw-r--r-- | lib/rpmrc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/rpmrc.c b/lib/rpmrc.c index 0c281c61c..94a085868 100644 --- a/lib/rpmrc.c +++ b/lib/rpmrc.c @@ -1389,7 +1389,7 @@ void rpmGetOsInfo(const char ** name, int * num) { getMachineInfo(OS, name, num); } -void rpmRebuildTargetVars(const char ** buildtarget, const char ** canontarget) +void rpmRebuildTargetVars(const char ** target, const char ** canontarget) { char *ca = NULL, *co = NULL, *ct = NULL; @@ -1401,10 +1401,10 @@ void rpmRebuildTargetVars(const char ** buildtarget, const char ** canontarget) rpmSetTables(RPM_MACHTABLE_INSTARCH, RPM_MACHTABLE_INSTOS); rpmSetTables(RPM_MACHTABLE_BUILDARCH, RPM_MACHTABLE_BUILDOS); - if (buildtarget && *buildtarget) { + if (target && *target) { char *c; /* Set arch and os from specified build target */ - ca = xstrdup(*buildtarget); + ca = xstrdup(*target); if ((c = strchr(ca, '-')) != NULL) { *c++ = '\0'; |