Advertisement
Guest User

Diogenes Patch

a guest
Nov 27th, 2013
501
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Perl 1.09 KB | None | 0 0
  1. diff -pruN -x phi -x tlg -x Perseus_Data /tmp/compile/diogenes-3.1.6/Diogenes/UnicodeInput.pm ./Diogenes/UnicodeInput.pm
  2. --- /tmp/compile/diogenes-3.1.6/Diogenes/UnicodeInput.pm        2007-09-16 23:02:13.000000000 +0100
  3. +++ ./Diogenes/UnicodeInput.pm  2013-11-27 20:16:40.857704026 +0000
  4. @@ -106,7 +106,7 @@ sub unicode_greek_to_beta {
  5.              }
  6.          }
  7.          # Put the diacrits in the correct order
  8. -        for my $d qw{ ) ( / \ = | + } {
  9. +        for my $d (qw{ ) ( / \ = | + }) {
  10.              my $r = quotemeta $d;
  11.              $out .= $d if $temp =~ m/$r/;
  12.          }
  13. diff -pruN -x phi -x tlg -x Perseus_Data /tmp/compile/diogenes-3.1.6/Diogenes.cgi ./Diogenes.cgi
  14. --- /tmp/compile/diogenes-3.1.6/Diogenes.cgi    2007-10-20 08:04:37.000000000 +0100
  15. +++ ./Diogenes.cgi      2013-11-27 20:27:28.748916745 +0000
  16. @@ -634,7 +634,7 @@ my $get_args = sub
  17.          $args{pattern} = $st{query};
  18.      }
  19.      
  20. -    for my $arg qw(context min_matches reject_pattern)
  21. +    for my $arg (qw(context min_matches reject_pattern))
  22.      {
  23.          $args{$arg} = $st{$arg} if $st{$arg};
  24.      }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement