Ignore:
Timestamp:
11/16/08 20:25:48 (4 years ago)
Author:
OlivierRaginel
Message:

Item38: Removed and tweaked comments to ease security checks

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LatexModePlugin/lib/TWiki/Plugins/LatexModePlugin/Render.pm

    r194 r738  
    114114#     my $fn = &TWiki::Func::getPubDir() . "/".$web.'/'.$topic.'/mapping.txt'; 
    115115#     open(F, ">>$fn") or return; 
    116 #     print F `date`; 
     116#     use POSIX qw/strftime/; 
     117#     print F strftime, "%a %b %d %X %Z %Y\n", localtime; 
    117118#     print F "\t".$s1."\n"; 
    118119#     print F "-"x70; 
     
    774775        if ( ( TWiki::Func::getContext()->{'preview'} ) ||  
    775776             ( TWiki::Func::getContext()->{'save'} ) ) { 
    776             # my $resp = `$GREP -A 3 -i "!" $LATEXLOG`; 
    777777            (my $logf = $LATEXFILENAME) =~ s/\.tex$/\.log/; 
    778778            # $sandbox->{TRACE} = 1; 
     
    934934        } elsif ($opts{'engine'} eq 'mimetex') { 
    935935            my $ccmd = $PATHTOMIMETEX.' -d -f %IN|F% '; 
    936             # my $ccmd = $PATHTOMIMETEX.' -d -f '.$key.'.txt '; # > '.$outimg; 
    937             # `$ccmd`; 
    938              
    939936            my ($data,$ret) = $sandbox->sysCommand( $ccmd, 
    940937                                            IN => $key.'.txt' ); 
    941   
     938 
    942939            if ($ret eq 0) { 
    943940                open(OI,">$outimg"); 
Note: See TracChangeset for help on using the changeset viewer.