diff options
author | Thierry Vignaud <tv@mageia.org> | 2012-11-21 20:08:53 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2012-11-21 20:08:53 +0000 |
commit | e7d1fc7b0e520b0cf788fb915906588378869eb7 (patch) | |
tree | 0bc1a493026ba12cefb8994407b7be4c841caabb | |
parent | 2723588f9316f16cb01f3c77d837c37bb28d190e (diff) | |
download | perl-URPM-e7d1fc7b0e520b0cf788fb915906588378869eb7.tar perl-URPM-e7d1fc7b0e520b0cf788fb915906588378869eb7.tar.gz perl-URPM-e7d1fc7b0e520b0cf788fb915906588378869eb7.tar.bz2 perl-URPM-e7d1fc7b0e520b0cf788fb915906588378869eb7.tar.xz perl-URPM-e7d1fc7b0e520b0cf788fb915906588378869eb7.zip |
(Pkg_suggests) alias it on *_nonsense
(it should have been named suggests_nosense in the first place, bad pixel...)
-rw-r--r-- | NEWS | 2 | ||||
-rw-r--r-- | URPM.xs | 10 |
2 files changed, 4 insertions, 8 deletions
@@ -1,3 +1,5 @@ +- reduce code size + Version 4.18 - 21 November 2012 - further bump threshold for detecting looping forever @@ -1819,14 +1819,6 @@ Pkg_set_id(pkg, id=-1) pkg->flag |= id >= 0 && id <= FLAG_ID_MAX ? id : FLAG_ID_INVALID; void -Pkg_suggests(pkg) - URPM::Package pkg - PPCODE: - PUTBACK; - return_list_str(pkg->suggests, pkg->h, RPMTAG_SUGGESTSNAME, 0, 0, callback_list_str_xpush, NULL); - SPAGAIN; - -void Pkg_obsoletes(pkg) URPM::Package pkg ALIAS: @@ -1853,6 +1845,7 @@ Pkg_obsoletes_nosense(pkg) conflicts_nosense = 1 provides_nosense = 2 requires_nosense = 3 + suggests = 4 PPCODE: PUTBACK; rpmTag tag; @@ -1861,6 +1854,7 @@ Pkg_obsoletes_nosense(pkg) case 1: tag = RPMTAG_CONFLICTNAME; s = pkg->conflicts; break; case 2: tag = RPMTAG_PROVIDENAME; s = pkg->provides; break; case 3: tag = RPMTAG_REQUIRENAME; s = pkg->requires; break; + case 4: tag = RPMTAG_SUGGESTSNAME; s = pkg->suggests; break; default: tag = RPMTAG_OBSOLETENAME; s = pkg->obsoletes; break; } return_list_str(s, pkg->h, tag, 0, 0, callback_list_str_xpush, NULL); |