* vidir: Abort on unknown item numbers rather than deleting them.
Closes: #442440
+moreutils (0.24) unstable; urgency=low
+
+ * vidir: Force numbers to normalised integers.
+ * vidir: Abort on unknown item numbers rather than deleting them.
+ Closes: #442440
+
+ -- Joey Hess <joeyh@debian.org> Sun, 16 Sep 2007 13:05:54 -0400
+
moreutils (0.23) unstable; urgency=low
* Add pointer to join from combine's man page. Closes: #435516
while (<IN>) {
chomp;
if (/^(\d+)\t{0,1}(.*)/) {
- my $num=$1;
+ my $num=int($1);
my $name=$2;
if (! exists $item{$num}) {
- print STDERR "$0: unknown item number $num\n";
- $error=1;
+ die "$0: unknown item number $num\n";
}
elsif ($name ne $item{$num}) {
next unless length $name;