From 2b5cdead137fef2ca93050be1faf76d40c642afd Mon Sep 17 00:00:00 2001 From: "ojan@chromium.org" Date: Wed, 12 Jan 2011 23:48:54 +0000 Subject: [PATCH] 2011-01-12 Ojan Vafai Reviewed by Adam Barth. review tool formatted diff doesn't match the uploaded diff https://bugs.webkit.org/show_bug.cgi?id=51960 PrettyPatch works just fine if there is no newline at the end of the file. * attachment.cgi: git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75650 268f45cc-cd09-0410-ab3c-d52691b4dbfc --- Websites/bugs.webkit.org/ChangeLog | 11 +++++++++++ Websites/bugs.webkit.org/attachment.cgi | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/Websites/bugs.webkit.org/ChangeLog b/Websites/bugs.webkit.org/ChangeLog index 6b5f678b21b8..91789dd1603c 100644 --- a/Websites/bugs.webkit.org/ChangeLog +++ b/Websites/bugs.webkit.org/ChangeLog @@ -1,3 +1,14 @@ +2011-01-12 Ojan Vafai + + Reviewed by Adam Barth. + + review tool formatted diff doesn't match the uploaded diff + https://bugs.webkit.org/show_bug.cgi?id=51960 + + PrettyPatch works just fine if there is no newline at the end of the file. + + * attachment.cgi: + 2011-01-12 Ojan Vafai Reviewed by Adam Barth. diff --git a/Websites/bugs.webkit.org/attachment.cgi b/Websites/bugs.webkit.org/attachment.cgi index 90c279dc4a4d..2427b59ba2cc 100755 --- a/Websites/bugs.webkit.org/attachment.cgi +++ b/Websites/bugs.webkit.org/attachment.cgi @@ -396,7 +396,7 @@ sub prettyPatch $ENV{'PATH'} = "/opt/local/bin:" . $ENV{'PATH'}; open2(\*OUT, \*IN, "/usr/bin/ruby", "-I", "PrettyPatch", "PrettyPatch/prettify.rb", "--html-exceptions"); $ENV{'PATH'} = $orig_path; - print IN $attachment->data . "\n"; + print IN $attachment->data; close(IN); while () { print; -- 2.36.0