[BACK]Return to patch-cvsweb.cgi CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / www / cvsweb / patches

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /pkgsrc/www/cvsweb/patches/patch-cvsweb.cgi between version 1.1.2.1 and 1.1.2.2

version 1.1.2.1, 2013/07/30 13:01:11 version 1.1.2.2, 2013/08/14 12:45:40
Line 0 
Line 1 
   $NetBSD$
   
   Fix warnings from newer perl versions
   
   --- cvsweb.cgi.orig     2013-07-30 12:49:33.268655300 +0000
   +++ cvsweb.cgi
   @@ -1192,7 +1192,7 @@ EOF
    <legend>General options</legend>
    <input type="hidden" name="copt" value="1" />
    EOF
   -    for my $v qw(hidecvsroot hidenonreadable) {
   +    for my $v (qw(hidecvsroot hidenonreadable)) {
          printf(qq{<input type="hidden" name="%s" value="%s" />\n},
                 $v, $input{$v} || 0);
        }
   @@ -2951,7 +2951,7 @@ sub printLog($$$;$$)
      print "<br />\n";
   
      print '<i>';
   -  if (defined @mytz) {
   +  if (@mytz) {
        my ($est) = $mytz[(localtime($date{$_}))[8]];
        print scalar localtime($date{$_}), " $est</i> (";
      } else {

Legend:
Removed from v.1.1.2.1  
changed lines
  Added in v.1.1.2.2

CVSweb <webmaster@jp.NetBSD.org>