+07Mar23=======================================================================
+1. Fix odd (and old) regression dx command (line ending 59+++) '++' being the
+ culprit.
06Mar23=======================================================================
1. Fix filter error reporting, including incrementing concurrent error count
if there are actually any detected parse errors.
}
$line =~ s/^\s*$f[0]//;
$line =~ s/^\s*$f[1]//;
-$line =~ unpad($line);
+$line = unpad($line);
$line =~ s/\t+/ /g; # do this here because it needs to be stopped ASAP!
$line ||= ' ';
my @in;
my @out;
for (@_) {
- push @in, [inet_pton(m|:|?AF_INET6:AF_INET, $_), split m|/|];
+ my @ip = split m|/|;
+ push @in, [inet_pton(m|:|?AF_INET6:AF_INET, $ip[0]), @ip];
}
- @out = sort {$a->[0] <=> $b->[0]} @in;
+ @out = sort {$a->[1] cmp $b->[1]} @in;
return map { "$_->[1]/$_->[2]"} @out;
}
$self->send($self->msg('e26'));
$self->disconnect;
return ();
- }
+ }
}
return map {s/([^\s])\s+$/$1/; $_} @ans;
}
if (isdbg('eval')) {
my @list = split /\n/, $eval;
- my $line;
for (@list) {
dbg($_ . "\n") if isdbg('eval');
}
sub unpad
{
my $s = shift;
- $s =~ s/\s+$//;
- $s =~ s/^\s+//;
+ $s =~ s/^\s*//;
+ $s =~ s/\s*$//;
return $s;
}