From 8eab173d79ee5b444f29e33bac3e6e16f9ba4b51 Mon Sep 17 00:00:00 2001 From: Nishi Date: Thu, 3 Oct 2024 03:46:20 +0000 Subject: [PATCH] use binary git-svn-id: file:///raid/svn-personal/koakuma/trunk@44 219d0f9c-2d94-d447-890a-813e76b88fe9 --- koakuma.cgi.in | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/koakuma.cgi.in b/koakuma.cgi.in index 4a9a9a9..890372f 100644 --- a/koakuma.cgi.in +++ b/koakuma.cgi.in @@ -486,9 +486,14 @@ if { [catch { set fid [open "@@PREFIX@@/lib/koakuma/db/data/$projname/build-$count/log" "w"] set fail 0 + fconfigure $fid -encoding binary -translation binary + dup $fid stdout dup $fid stderr + fconfigure stdout -encoding binary -translation binary + fconfigure stderr -encoding binary -translation binary + puts "Build trigger description: $builddesc" puts "===== Checkout" puts "Using VCS: $use_vcs" -- 2.45.2