diff options
author | Thierry Vignaud <tv@mageia.org> | 2012-11-21 02:25:06 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2012-11-21 02:25:06 +0000 |
commit | 28b8022ccd4dbe629ad770e06ea4116ffd30258f (patch) | |
tree | 9eb79c5542267896c284788abb9146fa4d1d3775 /URPM.xs | |
parent | 8fe25b5d53b02ea6d275dba40f1c52b574211e41 (diff) | |
download | perl-URPM-28b8022ccd4dbe629ad770e06ea4116ffd30258f.tar perl-URPM-28b8022ccd4dbe629ad770e06ea4116ffd30258f.tar.gz perl-URPM-28b8022ccd4dbe629ad770e06ea4116ffd30258f.tar.bz2 perl-URPM-28b8022ccd4dbe629ad770e06ea4116ffd30258f.tar.xz perl-URPM-28b8022ccd4dbe629ad770e06ea4116ffd30258f.zip |
(callback_list_str_xpush_requires) kill it since it's now identical to callback_list_str_xpush()
Diffstat (limited to 'URPM.xs')
-rw-r--r-- | URPM.xs | 19 |
1 files changed, 2 insertions, 17 deletions
@@ -290,21 +290,6 @@ callback_list_str_xpush(char *s, int slen, const char *name, rpmsenseFlags flags /* returning zero indicates to continue processing */ return 0; } -static int -callback_list_str_xpush_requires(char *s, int slen, const char *name, const rpmsenseFlags flags, const char *evr, __attribute__((unused)) void *param) { - dSP; - if (s) - mXPUSHs(newSVpv(s, slen)); - else { - char buff[4096]; - int len = print_list_entry(buff, sizeof(buff)-1, name, flags, evr); - if (len >= 0) - mXPUSHs(newSVpv(buff, len)); - } - PUTBACK; - /* returning zero indicates to continue processing */ - return 0; -} struct cb_overlap_s { rpmsenseFlags flags; @@ -1839,7 +1824,7 @@ Pkg_requires(pkg) PPCODE: PUTBACK; return_list_str(pkg->requires, pkg->h, RPMTAG_REQUIRENAME, RPMTAG_REQUIREFLAGS, RPMTAG_REQUIREVERSION, - callback_list_str_xpush_requires, NULL); + callback_list_str_xpush, NULL); SPAGAIN; void @@ -1848,7 +1833,7 @@ Pkg_requires_nosense(pkg) PPCODE: PUTBACK; return_list_str(pkg->requires, pkg->h, RPMTAG_REQUIRENAME, RPMTAG_REQUIREFLAGS, 0, - callback_list_str_xpush_requires, NULL); + callback_list_str_xpush, NULL); SPAGAIN; void |