Alexandre Julliard : patches: Separate parsing of headers and mail body.
Alexandre Julliard
julliard at wine.codeweavers.com
Mon Oct 12 08:27:38 CDT 2015
Module: tools
Branch: master
Commit: 400ba40298a73d7c4f39f690658bfd9703516a49
URL: http://source.winehq.org/git/tools.git/?a=commit;h=400ba40298a73d7c4f39f690658bfd9703516a49
Author: Alexandre Julliard <julliard at winehq.org>
Date: Thu Oct 8 00:03:59 2015 +0900
patches: Separate parsing of headers and mail body.
---
patches/update | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/patches/update b/patches/update
index aa8d8c9..a11d17e 100755
--- a/patches/update
+++ b/patches/update
@@ -131,7 +131,11 @@ foreach my $file (readdir DIR)
{
if (/^Subject: (.*)$/) { $patch{"subject"} = $1; }
elsif (/^From: (.*)$/) { $patch{"author"} = format_author($1); }
- elsif (/^Signed-off-by: (.*)$/) { push @{$patch{"signoff"}}, format_author($1); }
+ last if (/^$/);
+ }
+ while (<PATCH>)
+ {
+ if (/^\s*Signed-off-by: (.*)$/) { push @{$patch{"signoff"}}, format_author($1); }
last if (/^---$/);
}
close PATCH;
More information about the wine-cvs
mailing list