aboutsummaryrefslogtreecommitdiffstats
path: root/URPM.xs
diff options
context:
space:
mode:
authorPer Øyvind Karlsen <peroyvind@mandriva.org>2009-07-26 07:08:15 +0000
committerPer Øyvind Karlsen <peroyvind@mandriva.org>2009-07-26 07:08:15 +0000
commit8a812a84b787e77e3398c26b1762bd5a7e090330 (patch)
tree88bce1f95e4116e4293eeacaa84cc6582d3fd99f /URPM.xs
parent579e4c05b95eff94727ad14d687ca2fd5c4e88c1 (diff)
downloadperl-URPM-8a812a84b787e77e3398c26b1762bd5a7e090330.tar
perl-URPM-8a812a84b787e77e3398c26b1762bd5a7e090330.tar.gz
perl-URPM-8a812a84b787e77e3398c26b1762bd5a7e090330.tar.bz2
perl-URPM-8a812a84b787e77e3398c26b1762bd5a7e090330.tar.xz
perl-URPM-8a812a84b787e77e3398c26b1762bd5a7e090330.zip
oops, put back line that accidentally got removed in the previous commit…
Diffstat (limited to 'URPM.xs')
-rw-r--r--URPM.xs1
1 files changed, 1 insertions, 0 deletions
diff --git a/URPM.xs b/URPM.xs
index 1f35d64..081671a 100644
--- a/URPM.xs
+++ b/URPM.xs
@@ -906,6 +906,7 @@ update_provides(URPM__Package pkg, HV *provides) {
s = ps + 1; ps = strchr(s, '@');
}
if (s[0] == '/') {
+ es = strchr(s, '['); if (!es) es = strchr(s, ' ');
(void)hv_fetch(provides, s, es != NULL ? es-s : (signed)strlen(s), 1);
}
}