diff options
author | Per Øyvind Karlsen <peroyvind@mandriva.org> | 2011-01-11 10:08:04 +0000 |
---|---|---|
committer | Per Øyvind Karlsen <peroyvind@mandriva.org> | 2011-01-11 10:08:04 +0000 |
commit | 2eabf25dee188a96446f91b9724572bc288c8316 (patch) | |
tree | 12083b63a879aba1866b7c07da23309db0e9f5c7 | |
parent | ba6c666bb8617c938acb9eb552ca36096db36ae4 (diff) | |
download | perl-URPM-2eabf25dee188a96446f91b9724572bc288c8316.tar perl-URPM-2eabf25dee188a96446f91b9724572bc288c8316.tar.gz perl-URPM-2eabf25dee188a96446f91b9724572bc288c8316.tar.bz2 perl-URPM-2eabf25dee188a96446f91b9724572bc288c8316.tar.xz perl-URPM-2eabf25dee188a96446f91b9724572bc288c8316.zip |
drop deprecated URPM::Pkg->header_filename.
-rw-r--r-- | NEWS | 3 | ||||
-rw-r--r-- | URPM.xs | 20 |
2 files changed, 2 insertions, 21 deletions
@@ -1,5 +1,6 @@ -Version 4.6 - Jan 2011, +Version 4.6 - 11 Jan 2011, by Per Øyvind Karlsen +- drop deprecated URPM::Pkg->header_filename. - make URPM::Pkg->filename properly return the filename in synthesis, rather than trying to generate it from NVRA - add URPM::DB::close() @@ -2036,26 +2036,6 @@ Pkg_filename(pkg) _free(nvra); } -# deprecated -void -Pkg_header_filename(pkg) - URPM::Package pkg - PPCODE: - if (pkg->info) { - char *eon; - - if ((eon = strrchr(pkg->info, '@')) != NULL) { - XPUSHs(sv_2mortal(newSVpv(pkg->info, 0))); - } - } else if (pkg->h) { - char buff[1024]; - char *p = buff; - const char *nvra = get_nvra(pkg->h); - p += snprintf(buff, sizeof(buff), "%s", nvra); - _free(nvra); - XPUSHs(sv_2mortal(newSVpv(buff, p-buff))); - } - void Pkg_id(pkg) URPM::Package pkg |