/[webpac2]/trunk/web/browse.cgi
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /trunk/web/browse.cgi

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 67 by dpavlin, Wed Nov 16 15:33:12 2005 UTC revision 68 by dpavlin, Wed Nov 16 15:49:22 2005 UTC
# Line 54  sub update_file($$) { Line 54  sub update_file($$) {
54                  return $iconv_loc->convert(chr(hex($t)));                  return $iconv_loc->convert(chr(hex($t)));
55          }          }
56          $content =~ s/%u([a-fA-F0-9]{4})/_conv_js($1)/gex;          $content =~ s/%u([a-fA-F0-9]{4})/_conv_js($1)/gex;
57            $content =~ s/^[\n\r]+//s;
58          $content =~ s/[\n\r]+$//s;          $content =~ s/[\n\r]+$//s;
59    
60          write_file($path . '.new', $content) || die "can't save ${path}.new $!";          write_file($path . '.new', $content) || die "can't save ${path}.new $!";

Legend:
Removed from v.67  
changed lines
  Added in v.68

  ViewVC Help
Powered by ViewVC 1.1.26