Files
dirvish/dirvish-imsort-reserved-warning.patch
Tomáš Chvátal 1a6ab95e1a Accepting request 285926 from home:weberho:tools
After using it for some years on several systems I'd like to bring the dirvish project to factory; please add me as maintainer, too.

OBS-URL: https://build.opensuse.org/request/show/285926
OBS-URL: https://build.opensuse.org/package/show/Archiving:Backup/dirvish?expand=0&rev=1
2015-02-26 20:04:53 +00:00

16 lines
540 B
Diff

From: Paul Slootman <paul@debian.org>
Subject: Fix for future reserved word warning
diff -urN dirvish-1.2.1/dirvish-expire.pl dirvish-1.2.1.debian/dirvish-expire.pl
--- dirvish-1.2.1/dirvish-expire.pl 2005-02-19 01:52:31.000000000 +0100
+++ dirvish-1.2.1.debian/dirvish-expire.pl 2006-07-07 11:46:46.000000000 +0200
@@ -140,7 +140,7 @@
qw(VAULT:BRANCH IMAGE CREATED EXPIRED);
}
-for $expire (sort(imsort @expires))
+for $expire (sort {imsort()} @expires)
{
my ($created, $expired);
($created = $$expire{created}) =~ s/:\d\d$//;