From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21536 invoked by alias); 17 Aug 2011 03:36:50 -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: 29693 Received: (qmail 24898 invoked from network); 17 Aug 2011 03:36:45 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) 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.1 Received-SPF: none (ns1.primenet.com.au: domain at closedmail.com does not designate permitted sender hosts) From: Bart Schaefer Message-id: <110816203630.ZM7065@torch.brasslantern.com> Date: Tue, 16 Aug 2011 20:36:29 -0700 In-reply-to: <20110816094602.GA10608@daniel3.local> Comments: In reply to Daniel Shahaf "'patch -Rp0 X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: zsh-workers@zsh.org Subject: Re: 'patch -Rp0foo } % : -Rp0foo } % : -Rp0 -1) { 1359 /* We want to reuse the current word position */ 1360 chwordpos = hwgetword; 1361 /* Start from where previous word ended, if possible */ 1362 hptr = chline + chwords[chwordpos ? chwordpos - 1 : 0]; 1363 } This makes me suspect that hwgetword was not incremented at some place where it should have been, but I don't know where -- or whether that is really the problem.