From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28103 invoked by alias); 10 Sep 2015 15:43: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: 36471 Received: (qmail 20631 invoked from network); 10 Sep 2015 15:43:53 -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 autolearn=ham autolearn_force=no version=3.4.0 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=VRnryrfugY1kHIGXKJvfCgZV2gqj0ZyKX3uQlUSTRwQ=; b=VY/TU97jkJAVRguCGCUWFOIsnQnmX8tGp7QyhYGDyjud+XdUE9aXYqReTBfr3nHvgV qz4AiAMmgKxNx7wnU1QkkzODnxRSrNyb6zg2h/EAR6HLydou+PxNNNBhrVarLmf4pzTi HzYt4iDGp/lNLlObwQRuXvF527CFKm7hofmwJ+kD6HHhFtEYeMX34AJ4vPYsojNigcHW GJiLpZCwFe4n/hHUmiOlsSi9oPMeujhGNaFvaSl1TyOG5LijbGptm+3h3TbkA2vJTr0f eMM4Vzclr45/+ZihGzIajW7jxWNB1Rb8rlNtF6r2sNwtsstBS3rpSvA7bn6OG41++bbg VJ/A== X-Gm-Message-State: ALoCoQlfgt8gqk6+t700xFDzHigNJmvsvN0dpNhRmIYoWhi96Fovr67pwdXpRRqeBKarUC0DHZ/x X-Received: by 10.182.213.165 with SMTP id nt5mr8505831obc.31.1441899830793; Thu, 10 Sep 2015 08:43:50 -0700 (PDT) From: Bart Schaefer Message-Id: <150910084347.ZM22882@torch.brasslantern.com> Date: Thu, 10 Sep 2015 08:43:47 -0700 In-Reply-To: <20150910155107.63b8081c@pwslap01u.europe.root.pri> Comments: In reply to Peter Stephenson "Infinite loop on exit" (Sep 10, 3:51pm) References: <20150901230743.GA12128@zira.vinc17.org> <20150902001322.GA17603@zira.vinc17.org> <150901191441.ZM15728@torch.brasslantern.com> <20150906183800.4abe1e57@ntlworld.com> <150910072510.ZM21990@torch.brasslantern.com> <20150910155107.63b8081c@pwslap01u.europe.root.pri> X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: zsh-workers@zsh.org Subject: Re: Infinite loop on exit MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Sep 10, 3:51pm, Peter Stephenson wrote: } } To avoid going insane, we only recover at the top level (sanitising the } chain of checks to optimise this so we could exit earlier would be } pretty gruesome and gain almost nothing). There was already a check of exit_pending within a few lines of the place I added mine in 36470. Should we do both patches? } This doesn't do anything special with ^C, but I think that was just down } to Zle being rather special with interrupts, so if we don't go back into } it repeatedly the issue doesn't arise. Agree.