From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2608 invoked by alias); 6 Dec 2015 23:19:10 -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: 37333 Received: (qmail 3464 invoked from network); 6 Dec 2015 23:19:10 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_DKIM_INVALID autolearn=ham autolearn_force=no version=3.4.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20150623.gappssmtp.com; s=20150623; h=from:message-id:date:in-reply-to:comments:references:to:subject :mime-version:content-type; bh=j5jAi/OV1BlJv/Ad5EjtgESHV+b7a7VeXX/Z9tKj4Uw=; b=Q34ZJXaaaFw7UhY1SuAsVjBMQLKwVqZJWEcwpb/rFMIct7acBubmoJEf+tNSiziLZr 0hMYULddxD+dIGVwUdaCgxacOEvQU0FfjjxeQZcllFdrJY6nHn8eq0qTr+FWJQ8Mtnh5 TJ3Qxl/xwCzeZtnVVRIX8Z+e0iVDC5NslhxCFvbAJRy35r8U5dD+HkKd9YFYC0ZSS4oZ 1F4oKa5DxEnpRGGeb9vASNoWQJhn/QLPlgwcNT8YXWZejUEXWQ90jfZm7biIUa+wkF/W AzMHry62LI0ytS9LYv7qkSq0b0s+mwZgDTZaO68a28TLvqFi6mF54qQ9QKMnzAPofHwx CVxQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:message-id:date:in-reply-to:comments :references:to:subject:mime-version:content-type; bh=j5jAi/OV1BlJv/Ad5EjtgESHV+b7a7VeXX/Z9tKj4Uw=; b=jIzMFIRuBuFPWxOi6JA+iwCzzbGEWKiE/eWMVST30gmiM16TSGYJAm3af5Yaf1UDV8 ONdL+n9LRvEfUCsTCXHYc3Ds1icBG/tMQhwopnyqJ6Sic1afXk8kne9KQuaGTszEJENM avuDqX/omt811CHqQzp/MCikxc8TM6baz3FKrKvVSAcTtLTZxNH9olE8W+GWZlPZZ5OC xSA10w1oRIm3Dh87lEZdYSumFsEahPo2uHeK68QCJiStNIsdCYOKszxXy00iS/TbFewo BZROJu+Form6qUraOj1lsqhPEO/+xtVZDVODPT6wqEXoLX1HMXOKGJKyC1f2xUb9hszA fc0Q== X-Gm-Message-State: ALoCoQmHNx7U8/d0o2WPTW7rH0y2+MeBy2m80S+m4by2peYEvVou8F9EOJ/5kH1Qa8ndYgC+sWVJ X-Received: by 10.66.117.199 with SMTP id kg7mr38965280pab.105.1449443946818; Sun, 06 Dec 2015 15:19:06 -0800 (PST) From: Bart Schaefer Message-Id: <151206151913.ZM31274@torch.brasslantern.com> Date: Sun, 6 Dec 2015 15:19:13 -0800 In-Reply-To: Comments: In reply to Sebastian Gniazdowski "getarg() called twice?" (Dec 6, 11:59am) References: X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: Zsh hackers list Subject: Re: getarg() called twice? MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Dec 6, 11:59am, Sebastian Gniazdowski wrote: } } I attach animated gif that shows getarg() being called twice with no reason So (>) is the new subscript flag you added. I have tried an example similar to yours (can't try an identical one because I can't cut and paste from an animated gif) with several of the existing subscript flags, and I can't get GDB to hit a breakpoint in getarg() more than one time per expansion within "zsh -f". I suspect therefore that this is either a side-effect of your new code, or it's a side-effect of something in your shell environment (precmd, preexec, etc.)