From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21889 invoked by alias); 9 Dec 2014 22:13:54 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 33943 Received: (qmail 20305 invoked from network); 9 Dec 2014 22:13:52 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 X-CMAE-Score: 0 X-CMAE-Analysis: v=2.1 cv=aOpHcg5j c=1 sm=1 tr=0 a=FT8er97JFeGWzr5TCOCO5w==:117 a=kj9zAlcOel0A:10 a=q2GGsy2AAAAA:8 a=oR5dmqMzAAAA:8 a=-9mUelKeXuEA:10 a=A92cGCtB03wA:10 a=rYYdjCoFkxdGbRLP9DkA:9 a=CjuIK1q_8ugA:10 From: Bart Schaefer Message-id: <141209141357.ZM6756@torch.brasslantern.com> Date: Tue, 09 Dec 2014 14:13:57 -0800 In-reply-to: Comments: In reply to "Jun T." "Re: free() error on simple input scripts" (Dec 10, 12:45am) References: <20141206042732.GA28745@ti.fritz.box> <141206150753.ZM2978@torch.brasslantern.com> <141206223657.ZM28506@torch.brasslantern.com> X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: zsh-workers@zsh.org Subject: Re: free() error on simple input scripts MIME-version: 1.0 Content-type: text/plain; charset=us-ascii On Dec 10, 12:45am, Jun T. wrote: } } What is the "correct" behavior for the input backslash-null? Meta should always be Meta, even after a backslash; the whole point of the Meta byte is that it introduces a two-character pair that represents a single character, and the backslash should precede whatever the represented character is, resulting in a 3-byte token when backslash means "quote the next character" (which I think it always does mean during gettokstr). } The following may be a possibility but I'm not sure. } (The ifdef DEBUG part is copied from line 1059 in the same file) I agree with Peter that this patch looks correct.