From 7a747c65fcbce0e15e5465b053a97b19ca169579 Mon Sep 17 00:00:00 2001 From: "slamm%netscape.com" Date: Thu, 27 May 1999 01:26:56 +0000 Subject: [PATCH] Put "C" links back. People want them. --- webtools/tinderbox/showbuilds.cgi | 25 +++++++++++-------------- 1 file changed, 11 insertions(+), 14 deletions(-) diff --git a/webtools/tinderbox/showbuilds.cgi b/webtools/tinderbox/showbuilds.cgi index ca226e1f9b9a..badd8c62b19d 100755 --- a/webtools/tinderbox/showbuilds.cgi +++ b/webtools/tinderbox/showbuilds.cgi @@ -285,20 +285,17 @@ sub print_table_row { # What Changed # -# This gives bogus information because the CVS mirror is -# out of sync with the build times -# if( $br->{previousbuildtime} ){ -# my ($previous_br) = $build_table->[$tt+$rowspan][$bn]; -# my ($previous_rowspan) = $previous_br->{rowspan}; -# if (&has_who_list($tt+$rowspan, -# $tt+$rowspan+$previous_rowspan-1)) { -# $qr = &query_ref($br->{td}, -# $br->{previousbuildtime}, -# $br->{buildtime}); -# print "\n$qr"; -# print "C"; -# } -# } + if( $br->{previousbuildtime} ){ + my $previous_br = $build_table->[$tt+$rowspan][$bn]; + my $previous_rowspan = $previous_br->{rowspan}; + if (&has_who_list($tt+$rowspan, + $tt+$rowspan+$previous_rowspan-1)) { + print "\n", &query_ref($br->{td}, + $br->{previousbuildtime}, + $br->{buildtime}); + print "C"; + } + } if ($br->{binaryname} ne '') { $binfile = "$buildtree/bin/$buildtime/$br->{buildname}/"