From: cjwatson <> Date: Thu, 22 May 2003 02:27:15 +0000 (-0800) Subject: [project @ 2003-05-21 19:27:15 by cjwatson] X-Git-Tag: release/2.6.0~912 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=9a386d36cdb279df2ecc6b31d352fe3d432692ae;p=debbugs.git [project @ 2003-05-21 19:27:15 by cjwatson] Actually use the $bug argument passed to update_realtime() rather than some other random dynamically-scoped variable. --- diff --git a/scripts/errorlib.in b/scripts/errorlib.in index 09d8b327..560ff4c8 100755 --- a/scripts/errorlib.in +++ b/scripts/errorlib.in @@ -1,5 +1,5 @@ # -*- perl -*- -# $Id: errorlib.in,v 1.21 2003/05/03 21:32:09 doogie Exp $ +# $Id: errorlib.in,v 1.22 2003/05/21 19:27:15 cjwatson Exp $ sub F_SETLK { 6; } sub F_WRLCK{ 1; } $flockstruct= 'sslll'; # And there ought to be something for this too. @@ -190,7 +190,7 @@ sub update_realtime { my $line; while($line = ) { my @line = split /\s/, $line; - last if ($line[1] == $ref); + last if ($line[1] == $bug); print IDXNEW $line; }