chiark
/
gitweb
/
~yarrgweb
/
ypp-sc-tools.db-live.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Do not clean #pages#.ppm or $(TARGETS) unless "make realclean"
[ypp-sc-tools.db-live.git]
/
pctb
/
dictionary-update-receiver
diff --git
a/pctb/dictionary-update-receiver
b/pctb/dictionary-update-receiver
index 015f051f9a9af996e8d8237c4c68bf7188c0af17..13131f3330272f96f7ea74e5fe34b621dd673f55 100755
(executable)
--- a/
pctb/dictionary-update-receiver
+++ b/
pctb/dictionary-update-receiver
@@
-12,7
+12,7
@@
use strict (qw(vars));
use POSIX;
use strict (qw(vars));
use POSIX;
-$CGI::POST_MAX=
65536
;
+$CGI::POST_MAX=
1024*1024
;
$CGI::DISABLE_UPLOADS= 1;
use CGI qw/:standard -private_tempfiles/;
$CGI::DISABLE_UPLOADS= 1;
use CGI qw/:standard -private_tempfiles/;
@@
-54,7
+54,7
@@
sub parseentryin__pixmap ($) {
my $whole= pipeval($ppm,
'ppmtopgm',
my $whole= pipeval($ppm,
'ppmtopgm',
- 'pnmnorm -bpercent
40 -wpercent 20
',
+ 'pnmnorm -bpercent
10 -wpercent 5
',
'pgmtopbm -threshold',
'pnminvert',
'pbmtoascii');
'pgmtopbm -threshold',
'pnminvert',
'pbmtoascii');
@@
-155,7
+155,7
@@
sub pipeval ($@) {
my $dict= param('dict');
my $entry_in= param('entry');
my $dict= param('dict');
my $entry_in= param('entry');
-defined $entry_in or die;
+defined $entry_in or die
Dump()." ?"
;
my $ocean= param('ocean');
my $pirate= param('pirate');
my $ocean= param('ocean');
my $pirate= param('pirate');