From: Don Armstrong Date: Fri, 13 Jul 2012 23:21:46 +0000 (-0700) Subject: remove -1.log X-Git-Tag: release/2.6.0~367^2~4 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=53e63383028a77d745789db3821e1a467bf24ddc;p=debbugs.git remove -1.log --- diff --git a/scripts/service b/scripts/service index 35cb4a0..4d20051 100755 --- a/scripts/service +++ b/scripts/service @@ -509,7 +509,7 @@ my $error_text = $errors > 0 ? " (with $errors errors)":''; my @common_headers; push @common_headers, 'X-Loop',$gMaintainerEmail; -my $temp_transcript = ${transcript_scalar}; +my $temp_transcript = $transcript_scalar; eval{ $temp_transcript = decode("utf8",$temp_transcript,Encode::FB_CROAK); }; @@ -542,19 +542,6 @@ my $repliedshow= join(', ',$replyto, ) ); -# -1 is the service.in log -&filelock("lock/-1"); -open(AP,">>db-h/-1.log") || die "open db-h/-1.log: $!"; -print(AP - "\2\n$repliedshow\n\5\n$reply\n\3\n". - "\6\n". - "Request received from ". - html_escape($header{'from'})."\n". - "to ".html_escape($controlrequestaddr)."\n". - "\3\n". - "\7\n",escape_log(@log),"\n\3\n") || die "writing db-h/-1.log: $!"; -close(AP) || die "open db-h/-1.log: $!"; -&unfilelock; utime(time,time,"db-h"); &sendmailmessage($reply,