Re: [PATCH] sprinters: bugfix when NULL passed for a string.
authorJameson Graef Rollins <jrollins@finestructure.net>
Wed, 8 Aug 2012 16:25:49 +0000 (09:25 +1700)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:48:59 +0000 (09:48 -0800)
09/1b2b2d0063b7160e46dfe4c7b78df98ad7b713 [new file with mode: 0644]

diff --git a/09/1b2b2d0063b7160e46dfe4c7b78df98ad7b713 b/09/1b2b2d0063b7160e46dfe4c7b78df98ad7b713
new file mode 100644 (file)
index 0000000..4a2bd4d
--- /dev/null
@@ -0,0 +1,104 @@
+Return-Path: <jrollins@finestructure.net>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id 00195431FBD\r
+       for <notmuch@notmuchmail.org>; Wed,  8 Aug 2012 09:26:04 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -2.29\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-2.29 tagged_above=-999 required=5\r
+       tests=[RCVD_IN_DNSWL_MED=-2.3, T_MIME_NO_TEXT=0.01] autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id Li4MYCA6CIre for <notmuch@notmuchmail.org>;\r
+       Wed,  8 Aug 2012 09:26:02 -0700 (PDT)\r
+Received: from outgoing-mail.its.caltech.edu (outgoing-mail.its.caltech.edu\r
+       [131.215.239.19])\r
+       by olra.theworths.org (Postfix) with ESMTP id A9213431FAE\r
+       for <notmuch@notmuchmail.org>; Wed,  8 Aug 2012 09:26:02 -0700 (PDT)\r
+Received: from earth-doxen.imss.caltech.edu (localhost [127.0.0.1])\r
+       by earth-doxen-postvirus (Postfix) with ESMTP id 1E19766E013F;\r
+       Wed,  8 Aug 2012 09:26:02 -0700 (PDT)\r
+X-Spam-Scanned: at Caltech-IMSS on earth-doxen by amavisd-new\r
+Received: from finestructure.net (unknown [76.89.192.57])\r
+       (Authenticated sender: jrollins)\r
+       by earth-doxen-submit (Postfix) with ESMTP id BBD2E66E011F;\r
+       Wed,  8 Aug 2012 09:25:52 -0700 (PDT)\r
+Received: by finestructure.net (Postfix, from userid 1000)\r
+       id 70E245CF; Wed,  8 Aug 2012 09:25:52 -0700 (PDT)\r
+From: Jameson Graef Rollins <jrollins@finestructure.net>\r
+To: Mark Walters <markwalters1009@gmail.com>,\r
+       Austin Clements <amdragon@MIT.EDU>,\r
+       Ben Gamari <bgamari.foss@gmail.com>, notmuch@notmuchmail.org\r
+Subject: Re: [PATCH] sprinters: bugfix when NULL passed for a string.\r
+In-Reply-To: <878vdp3knf.fsf@qmul.ac.uk>\r
+References: <871ujjuu2z.fsf@gmail.com> <878vdrp4d9.fsf@qmul.ac.uk>\r
+       <874noe1o0r.fsf@qmul.ac.uk>\r
+       <87ipcut9r4.fsf@awakening.csail.mit.edu>\r
+       <878vdp3knf.fsf@qmul.ac.uk>\r
+User-Agent: Notmuch/0.13.2+137~ge34ed71 (http://notmuchmail.org) Emacs/23.4.1\r
+       (x86_64-pc-linux-gnu)\r
+Date: Wed, 08 Aug 2012 09:25:49 -0700\r
+Message-ID: <87obmlic4y.fsf@servo.finestructure.net>\r
+MIME-Version: 1.0\r
+Content-Type: multipart/signed; boundary="=-=-=";\r
+       micalg=pgp-sha256; protocol="application/pgp-signature"\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Wed, 08 Aug 2012 16:26:05 -0000\r
+\r
+--=-=-=\r
+\r
+On Wed, Aug 08 2012, Mark Walters <markwalters1009@gmail.com> wrote:\r
+> For the From/Date headers see http://www.ietf.org/rfc/rfc2822.txt\r
+> section 3.6 for details:\r
+>\r
+>    The only required header fields are the origination date field and\r
+>    the originator address field(s).  All other header fields are\r
+>    syntactically optional.\r
+>\r
+> and origination date field means a Date: header, and originator\r
+> address field means a From: header. However, I don't think an empty\r
+> string is valid for either of these so we can't sensibly output\r
+> something standards compliant. Thus I would go for following the\r
+> original message and omit any fields not present in it.\r
+\r
+I agree.  Let's not pretend or imply something is valid when it's not.\r
+The output should reflect the actual content of the message as much as\r
+possible.\r
+\r
+jamie.\r
+\r
+--=-=-=\r
+Content-Type: application/pgp-signature\r
+\r
+-----BEGIN PGP SIGNATURE-----\r
+Version: GnuPG v1.4.12 (GNU/Linux)\r
+\r
+iQIcBAEBCAAGBQJQIpMOAAoJEO00zqvie6q8HSUP/i34k5X9+XXv9cqSgfZ+LvFE\r
+FMro051iAXijW/+Iy3jFaOgGUXM9RP8BfdJqkNea3uODO23aJ/O1NVp8W2yTTWq8\r
+5RjHeyuGr3aIV9HrmzDFhtdnVoQejb2TceOGDm268qeYbxuuK2ons6uD/1z4vhGV\r
+m4pP+wnDLdpJvLKQzrdfRBmhG4NBAD/u4odp9+xt+qNBfAKHwoI52VIZ+1U04l76\r
+JoAanaAkOcXVyVZiThJaI83PjFfJ2FxR4ZbS06/PlxWKmY4mg0Dtb2bTMfrhvfnX\r
+FALJorShOo/jSxVPt1o/inEVTR3ZRATAICjbJVBAk9uWizpllOzsQUN5NwUd2jN4\r
+HLbpWfxwI8THLSXJEhjhpFH7eMPnlF6n3TJcxMBnu8PgVnGe6P/3Sf+Lr0zUmTzh\r
+CodySgieOc8g4KTK9yx9IQRhlk0piLNEnX0C4/TykY9rDvwc5CeGqRe4u+1Sqdo6\r
+TpqNDnsr6lPJ0qDPQA3j2fzJdx5CVcjzcGj6z1EHJtPTOKGqc0iNzgplPN6EFE1l\r
+t3Oo4scFPZbQKuWoCkf/fTMbuyDF0RAU59v601/B4zdMPUaWxryISivFVIxAH648\r
+ejqZGR+c1dzyj92lYvzstdzdFf5YqZ7pD1p2/MACM7Y8xU5pOK1I0CBjVSX/5KLj\r
+J3dD+qW+xfgXIKW/QohA\r
+=ugtb\r
+-----END PGP SIGNATURE-----\r
+--=-=-=--\r