[BACK]Return to cvsweb.cgi CVS log [TXT][DIR] Up to [cvsweb.bsd.lv] / cvsweb

Diff for /cvsweb/cvsweb.cgi between version 1.20 and 1.23

version 1.20, 1998/07/23 08:50:52 version 1.23, 1998/08/15 09:59:11
Line 3 
Line 3 
 # cvsweb - a CGI interface to the CVS tree.  # cvsweb - a CGI interface to the CVS tree.
 #  #
 # Written by Bill Fenner <fenner@parc.xerox.com> on his own time.  # Written by Bill Fenner <fenner@parc.xerox.com> on his own time.
 # Insert BSD copyright here.  
 #  #
   # Copyright (c) 1996-1998 Bill Fenner
   # All rights reserved.
   #
   # Redistribution and use in source and binary forms, with or without
   # modification, are permitted provided that the following conditions
   # are met:
   # 1. Redistributions of source code must retain the above copyright
   #    notice, this list of conditions and the following disclaimer.
   # 2. Redistributions in binary form must reproduce the above copyright
   #    notice, this list of conditions and the following disclaimer in the
   #    documentation and/or other materials provided with the distribution.
   #
   # THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
   # ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
   # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
   # ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
   # FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
   # DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
   # OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
   # HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
   # LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
   # OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
   # SUCH DAMAGE.
   #
   # $fId: cvsweb.cgi,v 1.22 1998/08/13 10:35:26 wosch Exp $
   #
   
   
 #HTTP_USER_AGENT: Mozilla/1.1N (X11; I; SunOS 4.1.3_U1 sun4m) via proxy gateway CERN-HTTPD/3.0 libwww/2.17  #HTTP_USER_AGENT: Mozilla/1.1N (X11; I; SunOS 4.1.3_U1 sun4m) via proxy gateway CERN-HTTPD/3.0 libwww/2.17
 #SERVER_NAME: www.freebsd.org  #SERVER_NAME: www.freebsd.org
 #QUERY_STRING: baz  #QUERY_STRING: baz
Line 117  if (!-d $cvsroot) {
Line 144  if (!-d $cvsroot) {
 {  {
     local(@foo, $i);      local(@foo, $i);
     local($scriptname) = $ENV{'SCRIPT_NAME'};      local($scriptname) = $ENV{'SCRIPT_NAME'};
     foreach (keys %CVSROOT) {      foreach (sort keys %CVSROOT) {
         if (-d $CVSROOT{$_}) {          if (-d $CVSROOT{$_}) {
             push(@foo, $_);              push(@foo, $_);
         }          }
Line 146  if (-d $fullname) {
Line 173  if (-d $fullname) {
             print $shortinstr;              print $shortinstr;
         }          }
         print "<p>";          print "<p>";
         print "Current CVS tree: <b>$cvstree</b><br>\n"          print "Current CVS tree: <b>",
             if $cvstree ne $cvstreedefault;                  ($CVSROOTdescr{"$cvstree"} ? $CVSROOTdescr{"$cvstree"} :
                           $cvstree), "</b><br>\n";
         print "Current directory: <b>/$where</b>\n";          print "Current directory: <b>/$where</b>\n";
         print "<P><HR NOSHADE>\n";          print "<P><HR NOSHADE>\n";
         # Using <MENU> in this manner violates the HTML2.0 spec but          # Using <MENU> in this manner violates the HTML2.0 spec but

Legend:
Removed from v.1.20  
changed lines
  Added in v.1.23

CVSweb