integrate maint-5.8 #18301
Hugo van der Sanden [Mon, 23 Dec 2002 06:14:22 +0000 (06:14 +0000)]
p4raw-id: //depot/perl@18346
p4raw-integrated: from //depot/maint-5.8/perl@18345 'merge in'
lib/perl5db.pl (@17645..)

lib/perl5db.pl

index 45e6a19..7a53b11 100644 (file)
@@ -1743,6 +1743,7 @@ sub cmd_h {
 }
 
 sub cmd_l {
+       my $current_line = $line;
        my $line = shift;
        $line =~ s/^-\s*$/-/;
        if ($line =~ /^(\$.*)/s) {
@@ -1806,7 +1807,7 @@ sub cmd_l {
                                my ($stop,$action);
                                ($stop,$action) = split(/\0/, $dbline{$i}) if
                                                $dbline{$i};
-                                                       $arrow = ($i==$line 
+                                               $arrow = ($i==$current_line
                                                and $filename eq $filename_ini) 
                                        ?  '==>' 
                                                : ($dbline[$i]+0 ? ':' : ' ') ;