Francois Gouget : testbot/WineSendLog: Preserve the newline on the last line of attachments.

Alexandre Julliard julliard at winehq.org
Tue Jul 17 09:53:38 CDT 2018


Module: tools
Branch: master
Commit: 256f01374da0949d74d6b2111ad78cbac1e71244
URL:    https://source.winehq.org/git/tools.git/?a=commit;h=256f01374da0949d74d6b2111ad78cbac1e71244

Author: Francois Gouget <fgouget at codeweavers.com>
Date:   Tue Jul 17 16:41:57 2018 +0200

testbot/WineSendLog: Preserve the newline on the last line of attachments.

Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 testbot/bin/WineSendLog.pl | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/testbot/bin/WineSendLog.pl b/testbot/bin/WineSendLog.pl
index 9d00391..51830ad 100755
--- a/testbot/bin/WineSendLog.pl
+++ b/testbot/bin/WineSendLog.pl
@@ -388,6 +388,7 @@ EOF
     my $TaskDir = $StepTask->GetTaskDir();
 
     print $Sendmail <<"EOF";
+
 --$PART_BOUNDARY
 Content-Type: text/plain; charset="UTF-8"
 MIME-Version: 1.0
@@ -429,7 +430,7 @@ EOF
     }
   }
   
-  print $Sendmail "--$PART_BOUNDARY--\n";
+  print $Sendmail "\n--$PART_BOUNDARY--\n";
   close($Sendmail);
 
   # This is all for jobs submitted from the website




More information about the wine-cvs mailing list