summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--quilt.changes6
-rw-r--r--quilt/mail.in4
2 files changed, 8 insertions, 2 deletions
diff --git a/quilt.changes b/quilt.changes
index 42c6d82..ab932fe 100644
--- a/quilt.changes
+++ b/quilt.changes
@@ -1,4 +1,10 @@
-------------------------------------------------------------------
+Sun Dec 8 10:46:10 CET 2013 - mquinson@debian.org
+
+- quilt/mail.in: accept recipents that have no full name along with
+ the email. Thanks to Christoph Lameter for the detailed bug report.
+
+-------------------------------------------------------------------
Mon Sep 30 14:21:45 CEST 2013 - jdelvare@suse.de
- Makefile.in: Fix support for configure --with-xargs.
diff --git a/quilt/mail.in b/quilt/mail.in
index fcdc46e..7ffefcf 100644
--- a/quilt/mail.in
+++ b/quilt/mail.in
@@ -393,8 +393,8 @@ then
sed -n -e "/\<${LOGNAME:-$(whoami)}@/d" \
-e 's/^\(\(To\|'"$*"'\):[ '$'\t'']*\)\([^"]*\(,[^"]*\)\+[^" '$'\t'']\)\([ '$'\t'']*<.*>\)/\1"\3"\5/I' \
- -e 's/^To:\(.*<.*@.*>\)/Recipient-To:\1/Ip' \
- -e 's/^\('"$*"'\):\(.*<.*@.*>\)/Recipient-Cc:\2/Ip' \
+ -e 's/^To:\(.+@.+\)/Recipient-To:\1/Ip' \
+ -e 's/^\('"$*"'\):\(.+@.+\)/Recipient-Cc:\2/Ip' \
$tmpdir/header
echo