Changeset 122
- Timestamp:
- 18.12.2006 18:58:22 (2 years ago)
- Files:
-
- trunk/devel/FuzzyOcr/Deanimate.pm (modified) (1 diff)
- trunk/devel/FuzzyOcr/Misc.pm (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/devel/FuzzyOcr/Deanimate.pm
r75 r122 48 48 } 49 49 my $retcode = save_execute( 50 "$conf->{focr_bin_gifsicle} - -unoptimize $tfile \'#$index\'",50 "$conf->{focr_bin_gifsicle} -o $tfile2 --unoptimize $tfile #$index", 51 51 undef, 52 ">$tfile2",52 undef, 53 53 ">>$efile"); 54 54 return $tfile2 if ($retcode == 0); trunk/devel/FuzzyOcr/Misc.pm
r121 r122 72 72 $fname =~ s/^< *//; 73 73 $fname =~ s/^>> *// and $flags |= O_CREAT|O_WRONLY|O_APPEND; 74 $fname =~ s/^> *// and $flags |= O_CREAT|O_WRONLY |O_EXCL;74 $fname =~ s/^> *// and $flags |= O_CREAT|O_WRONLY; 75 75 POSIX::close($fd_target); # ignore error, we may have just closed a log 76 76 my($fd_got) = POSIX::open($fname,$flags,$mode);
