From 776188135127418da560fb579fb16db43f31727f Mon Sep 17 00:00:00 2001 From: David Bremner Date: Sat, 3 Jan 2015 10:03:15 +0100 Subject: [PATCH] Re: [PATCH] lib: convert two "iterator copy strings" into references. --- 19/290c6d74996cf8deb56689ffdf8fdaba4e984a | 61 +++++++++++++++++++++++ 1 file changed, 61 insertions(+) create mode 100644 19/290c6d74996cf8deb56689ffdf8fdaba4e984a diff --git a/19/290c6d74996cf8deb56689ffdf8fdaba4e984a b/19/290c6d74996cf8deb56689ffdf8fdaba4e984a new file mode 100644 index 000000000..23318d90a --- /dev/null +++ b/19/290c6d74996cf8deb56689ffdf8fdaba4e984a @@ -0,0 +1,61 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by olra.theworths.org (Postfix) with ESMTP id 1B23E431FBC + for ; Sat, 3 Jan 2015 01:03:25 -0800 (PST) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: 0 +X-Spam-Level: +X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none] + autolearn=disabled +Received: from olra.theworths.org ([127.0.0.1]) + by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id t1K7VALCJ0SA for ; + Sat, 3 Jan 2015 01:03:21 -0800 (PST) +Received: from yantan.tethera.net (yantan.tethera.net [199.188.72.155]) + (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id E910E431FB6 + for ; Sat, 3 Jan 2015 01:03:21 -0800 (PST) +Received: from remotemail by yantan.tethera.net with local (Exim 4.80) + (envelope-from ) + id 1Y7KcD-00055m-6X; Sat, 03 Jan 2015 05:03:21 -0400 +Received: (nullmailer pid 31995 invoked by uid 1000); Sat, 03 Jan 2015 + 09:03:15 -0000 +From: David Bremner +To: notmuch@notmuchmail.org +Subject: Re: [PATCH] lib: convert two "iterator copy strings" into references. +In-Reply-To: <1420215652-4131-1-git-send-email-david@tethera.net> +References: <1419763508-11902-1-git-send-email-david@tethera.net> + <1420215652-4131-1-git-send-email-david@tethera.net> +User-Agent: Notmuch/0.19+10~g215de26 (http://notmuchmail.org) Emacs/24.4.1 + (x86_64-pc-linux-gnu) +Date: Sat, 03 Jan 2015 10:03:15 +0100 +Message-ID: <87zja0dyng.fsf@maritornes.cs.unb.ca> +MIME-Version: 1.0 +Content-Type: text/plain +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.13 +Precedence: list +List-Id: "Use and development of the notmuch mail system." + +List-Unsubscribe: , + +List-Archive: +List-Post: +List-Help: +List-Subscribe: , + +X-List-Received-Date: Sat, 03 Jan 2015 09:03:25 -0000 + +David Bremner writes: + +> Apparently this is a supported and even idiomatic way of keeping a +> temporary object (e.g. like that returned from an operator +> dereference) alive. + +pushed. + +d -- 2.26.2