summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-01-10 15:29:38 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-01-10 15:29:38 +0000
commitd76a58b1c5dcf520cf27d481d6bd86ec62d70705 (patch)
treedfcd18b4ef051d00baad0a55478199245d6d4a93
parentd6dd298ae59a457c8ad7a3af718a794ed9c59a96 (diff)
downloadurpmi-d76a58b1c5dcf520cf27d481d6bd86ec62d70705.tar
urpmi-d76a58b1c5dcf520cf27d481d6bd86ec62d70705.tar.gz
urpmi-d76a58b1c5dcf520cf27d481d6bd86ec62d70705.tar.bz2
urpmi-d76a58b1c5dcf520cf27d481d6bd86ec62d70705.tar.xz
urpmi-d76a58b1c5dcf520cf27d481d6bd86ec62d70705.zip
- urpmf
o fix an *old* bug (since december 2002) making urpmf keeps parsed hdlist files in memory (was fixed for multitags, but not for simple tags)
-rw-r--r--NEWS3
-rwxr-xr-xurpmf2
2 files changed, 4 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 72ace196..75f5ca8e 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,6 @@
+- urpmf
+ o fix an *old* bug (since december 2002) making urpmf keeps parsed
+ hdlist files in memory (was fixed for multitags, but not for simple tags)
- all tools:
o drop hdlist support (will be replaced with xml media_info)
o replace /var/lib/urpmi/MD5SUM with /var/lib/urpmi/MD5SUM.<medium_name>
diff --git a/urpmf b/urpmf
index 23e457a1..71b914ae 100755
--- a/urpmf
+++ b/urpmf
@@ -152,7 +152,7 @@ if ($multitag) {
($proto, $sprintfargs) = ('$proto_cooked', '$mt');
}
-my $next_st = $multitag ? 'next' : 'return 1';
+my $next_st = $multitag ? 'next' : 'return 0';
my @inner = (
'local $_;',
"\$_ = sprintf(qq{$proto}, $sprintfargs);",