aboutsummaryrefslogtreecommitdiffstats
path: root/URPM.xs
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-12-05 18:19:38 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-12-05 18:19:38 +0000
commit9d815631e70d95ab3e3d01a13fa99e1144b9a948 (patch)
tree9dddcf56b707ad54d374a913120671cf5d36213e /URPM.xs
parent41e58d55831e3ea8c5a623bcd02fd79a47f4e04c (diff)
downloadperl-URPM-9d815631e70d95ab3e3d01a13fa99e1144b9a948.tar
perl-URPM-9d815631e70d95ab3e3d01a13fa99e1144b9a948.tar.gz
perl-URPM-9d815631e70d95ab3e3d01a13fa99e1144b9a948.tar.bz2
perl-URPM-9d815631e70d95ab3e3d01a13fa99e1144b9a948.tar.xz
perl-URPM-9d815631e70d95ab3e3d01a13fa99e1144b9a948.zip
- drop $package->upgrade_files() (unused for a long time afaik)
Diffstat (limited to 'URPM.xs')
-rw-r--r--URPM.xs13
1 files changed, 0 insertions, 13 deletions
diff --git a/URPM.xs b/URPM.xs
index 48b3358..505f895 100644
--- a/URPM.xs
+++ b/URPM.xs
@@ -100,7 +100,6 @@ typedef struct s_Package* URPM__Package;
#define FILESIZE_TAG 1000001
#define FILTER_MODE_ALL_FILES 0
-#define FILTER_MODE_UPGRADE_FILES 1
#define FILTER_MODE_CONF_FILES 2
/* promote epoch sense should be :
@@ -665,10 +664,6 @@ return_files(Header header, int filter_mode) {
if (filter_mode) {
if ((filter_mode & FILTER_MODE_CONF_FILES) && flags && (flags[i] & RPMFILE_CONFIG) == 0) continue;
- if ((filter_mode & FILTER_MODE_UPGRADE_FILES) && fmodes &&
- (S_ISDIR(fmodes[i]) || S_ISLNK(fmodes[i]) ||
- !strncmp(s, "/dev", 4) || !strncmp(s, "/etc/rc.d", 9) ||
- (len >= 3 && !strncmp(s+len-3, ".la", 3)))) continue;
}
XPUSHs(sv_2mortal(newSVpv(s, len)));
@@ -2296,14 +2291,6 @@ Pkg_conf_files(pkg)
SPAGAIN;
void
-Pkg_upgrade_files(pkg)
- URPM::Package pkg
- PPCODE:
- PUTBACK;
- return_files(pkg->h, FILTER_MODE_UPGRADE_FILES);
- SPAGAIN;
-
-void
Pkg_changelog_time(pkg)
URPM::Package pkg
PPCODE: