X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~yarrgweb/git?p=ypp-sc-tools.db-test.git;a=blobdiff_plain;f=pctb%2Fdictionary-update-receiver;h=cd1638e22a476e905d2ebecd7975169181fb1358;hp=e3c2e7a9663c5b0bb79c73443d8905b5eeef8824;hb=2d4936689fb9f77e34412dd4169e025a6e364477;hpb=f1c4da8473dc12240993291dc6855b2a4eaaf1a0 diff --git a/pctb/dictionary-update-receiver b/pctb/dictionary-update-receiver index e3c2e7a..cd1638e 100755 --- a/pctb/dictionary-update-receiver +++ b/pctb/dictionary-update-receiver @@ -12,7 +12,7 @@ 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/; @@ -155,7 +155,7 @@ sub pipeval ($@) { 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'); @@ -268,7 +268,7 @@ L->flush or die $!; if (eval { - open S, "|sendmail -odb -oee -oi -t" or die $!; + open S, "|/usr/lib/sendmail -odb -oee -oi -t" or die $!; print S $email or die $!; $!=0; $?=0; close S or die $!; $? and die $?;