| Paste number 36695: | Fix svn-apply |
| Pasted by: | ddkilzer |
| When: | 2 years, 4 months ago |
| Share: | Tweet this! | http://paste.lisp.org/+SBB |
| Channel: | #webkit |
| Paste contents: |
Index: WebKitTools/ChangeLog
===================================================================
--- WebKitTools/ChangeLog (revision 19559)
+++ WebKitTools/ChangeLog (working copy)
@@ -1,3 +1,10 @@
+2007-02-10 David Kilzer <ddkilzer@webkit.org>
+
+ Reviewed by NOBODY (OOPS!).
+
+ * Scripts/svn-apply: Binary patches don't need a trailing newline after the base64
+ encoded text.
+
2007-02-10 Brady Eidson <beidson@apple.com>
Reviewed by Maciej
Index: WebKitTools/Scripts/svn-apply
===================================================================
--- WebKitTools/Scripts/svn-apply (revision 19559)
+++ WebKitTools/Scripts/svn-apply (working copy)
@@ -259,7 +259,7 @@ sub fixChangeLogPatch($)
sub handleBinaryChange($$)
{
my ($fullPath, $contents) = @_;
- if ($contents =~ m#((\n[A-Za-z0-9+/]{76})+\n[A-Za-z0-9+/=]{4,76}\n)\n#) {
+ if ($contents =~ m#((\n[A-Za-z0-9+/]{76})+\n[A-Za-z0-9+/=]{4,76}\n)#) {
# Addition or Modification
open FILE, ">", $fullPath or die;
print FILE decode_base64($1);
This paste has no annotations.