Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: hist: remove wrong NULL terminator
- X-seq: zsh-workers 34185
- From: Lawrence Velázquez <vq@xxxxxxxxx>
- To: Ray Andrews <rayandrews@xxxxxxxxxxx>
- Subject: Re: PATCH: hist: remove wrong NULL terminator
- Date: Fri, 9 Jan 2015 13:36:01 -0500
- Cc: zsh-workers@xxxxxxx
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=larryv.me; h= x-sasl-enc:content-type:mime-version:subject:from:in-reply-to :date:cc:content-transfer-encoding:message-id:references:to; s= mesmtp; bh=8wpSWew/bde5M3BdOQoPWOZCigo=; b=FJpq4PJPqz3h368dWQ3BP BphTb2Ah9Z7czljq+4swCu/A6pV70Qd0CBL/i8qalFieRwB8GGP8cA83EmYXb00D W32xeUVyvz/1gwWmXFp3xirRkipq8sp+6s4nIXcGWypTGaF2ikbXKh7eiTymi9bv EITNbfwpm/Qt/piRpuQ9M4=
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=x-sasl-enc:content-type:mime-version :subject:from:in-reply-to:date:cc:content-transfer-encoding :message-id:references:to; s=smtpout; bh=8wpSWew/bde5M3BdOQoPWOZ Cigo=; b=gZltYDKuxqXdNpp8nyzIXOzVmWniZiNNcLPMMCBDEKmKJvQmTbAJkzi YLnQvKt2wDlXDvfIVIU8XzoD6wvbxndp90is9Cr4PcdL01SG/ACOj6446bukxNix F+OmG4x5TwIWz8K7OJzotSfeWuARWn2TfEt4MQpY6z6oj8VCJYM0=
- In-reply-to: <6787593B-FA2B-4666-9F2B-23A43DCFBDFF@larryv.me>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <1420807419-9270-1-git-send-email-mikachu@gmail.com> <54B013C5.6090307@eastlink.ca> <6787593B-FA2B-4666-9F2B-23A43DCFBDFF@larryv.me>
On Jan 9, 2015, at 1:33 PM, Lawrence Velázquez <vq@xxxxxxxxx> wrote:
> % git blame -L 2179,+6 Src/hist.c(git:master)
> e74702b4 (Tanaka Akira 1999-04-15 18:05:38 +0000 2179) *rptr++ = *ptr;
> e74702b4 (Tanaka Akira 1999-04-15 18:05:38 +0000 2180) *rptr++ = '\'';
> e74702b4 (Tanaka Akira 1999-04-15 18:05:38 +0000 2181) *rptr++ = 0;
> e74702b4 (Tanaka Akira 1999-04-15 18:05:38 +0000 2182) str[1] = NULL;
> e74702b4 (Tanaka Akira 1999-04-15 18:05:38 +0000 2183) return 0;
> e74702b4 (Tanaka Akira 1999-04-15 18:05:38 +0000 2184) }
> % git show --shortstat e74702b4(git:master)
> commit e74702b467171dbdafb56dfe354794a212e020d9
> Author: Tanaka Akira <akr@xxxxxxxxxxxxxxxxxxxxx>
> Date: Thu Apr 15 18:05:38 1999 +0000
>
> Initial revision
>
> 354 files changed, 66043 insertions(+)
Badly-edited paste. In the interests of correctness:
% git blame -L 2179,+6 Src/hist.c
e74702b4 (Tanaka Akira 1999-04-15 18:05:38 +0000 2179) *rptr++ = *ptr;
e74702b4 (Tanaka Akira 1999-04-15 18:05:38 +0000 2180) *rptr++ = '\'';
e74702b4 (Tanaka Akira 1999-04-15 18:05:38 +0000 2181) *rptr++ = 0;
e74702b4 (Tanaka Akira 1999-04-15 18:05:38 +0000 2182) str[1] = NULL;
e74702b4 (Tanaka Akira 1999-04-15 18:05:38 +0000 2183) return 0;
e74702b4 (Tanaka Akira 1999-04-15 18:05:38 +0000 2184) }
% git show --shortstat e74702b4
commit e74702b467171dbdafb56dfe354794a212e020d9
Author: Tanaka Akira <akr@xxxxxxxxxxxxxxxxxxxxx>
Date: Thu Apr 15 18:05:38 1999 +0000
Initial revision
354 files changed, 66043 insertions(+)
vq
Messages sorted by:
Reverse Date,
Date,
Thread,
Author