===================================================================
RCS file: /cvs/cvsweb/cvsweb.cgi,v
retrieving revision 3.5
retrieving revision 3.9
diff -u -p -r3.5 -r3.9
--- cvsweb/cvsweb.cgi 2000/07/28 19:38:26 3.5
+++ cvsweb/cvsweb.cgi 2000/07/29 12:41:25 3.9
@@ -41,7 +41,8 @@
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
# SUCH DAMAGE.
#
-# $Id: cvsweb.cgi,v 3.5 2000/07/28 19:38:26 knu Exp $
+# $zId: cvsweb.cgi,v 1.93 2000/07/27 17:42:28 hzeller Exp $
+# $Id: cvsweb.cgi,v 3.9 2000/07/29 12:41:25 knu Exp $
#
###
@@ -161,7 +162,7 @@ $maycompress =(($ENV{HTTP_ACCEPT_ENCODING} =~ m`gzip`
# to hold our state - they will be added (with
# their current value) to any link/query string
# you construct
-@stickyvars = qw(cvsroot hideattic sortby logsort fonly_with_tag);
+@stickyvars = qw(cvsroot hideattic sortby logsort f only_with_tag);
if (-f $config) {
do $config;
@@ -854,8 +855,8 @@ sub htmlify {
# get #PR as link ..
if ($pr && defined($prcgi)) {
- 1 while $string =~ s`\b(pr[:#]?\s*(?:#?\d+[,\s]\s*)*#?)(\d+)\b`$1$2`i;
- $string =~ s`\b${prcategories}/(\d+)\b`$&`igo;
+ 1 while $string =~ s`\b(pr[:#]?\s*(?:#?\d+[,\s]\s*)*#?)(\d+)\b`$1$2`i;
+ $string =~ s`\b${prcategories}/(\d+)\b`$&`igo;
}
return $string;
@@ -1472,15 +1473,15 @@ sub getDirLogs {
if ($tag) {
#can't use -r as - is allowed in tagnames, but misinterpreated by rlog..
if (! open($fh, "-|")) {
- close(STDERR); # rlog may complain; ignore.
- exec("rlog",@files);
+ open(STDERR, '>/dev/null'); # rlog may complain; ignore.
+ exec('rlog', @files);
}
}
else {
my $kidpid = open($fh, "-|");
if (! $kidpid) {
open(STDERR, '>/dev/null'); # rlog may complain; ignore.
- exec("rlog","-r",@files);
+ exec('rlog', '-r', @files);
}
}
$state = "start";
@@ -2329,7 +2330,7 @@ sub navigateHeader ($$$$$) {
$swhere = urlencode($filename) if ($swhere eq "");
print "<\!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0 Transitional//EN\">";
print "\n\n";
- print '';
+ print '';
print "\n$path$filename - $title - $rev\n";
print "\n";
print "";
@@ -2683,7 +2684,7 @@ sub http_header {
sub html_header($) {
my ($title) = @_;
- my $version = '$Revision: 3.5 $';
+ my $version = '$zRevision: 1.93 $ $Revision: 3.9 $';
http_header();
print <