From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21589 invoked by alias); 1 Oct 2014 15:32:12 -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: 33307 Received: (qmail 5913 invoked from network); 1 Oct 2014 15:32:01 -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=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.co.uk; s=s1024; t=1412177135; bh=yjCvj9x1nthuTYGt5TAzvpXu7O7o6I5+X9SZHCh1n5I=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:Received:In-reply-to:From:References:To:Subject:MIME-Version:Content-Type:Content-ID:Date:Message-ID; b=TlqpFF/WjUP8yuYNPScPnRpcBaihANczFx9VxPuTDokbBacwkNaqvZRjt/N/RbKTXMyMOeiTNlIqT/ZQ0/LDlf9/QFftYJ1qaSeB91MTsbudlMSKxD04ZrJLsVj+xc8KYIMN8XcWXS7VOZx4L23MWGe0TeMB99UZ2fGarRBvwnY= X-Yahoo-Newman-Id: 133678.57206.bm@smtp146.mail.ir2.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: 6RQowOkVM1mr0Dc2MQ_aRdaROSj6HD3pvbRyUH9lipsFI2u Ouqd5w5atn7TuUeDAJ.IVyOfRvCyQCerOPZaQvFsQgMqPsWnQPZmN8HZOXin cK_0EZO1vEhGEj9fgIDYgEnQXISGve0KbmhjHlTdBRxQEa65N6eVZp4XWs5m 8Vsleg2_AwOnPCZ22gZMmruSza2GU2yI_7B06Nc_z1tmnBtZdnjS1.4CVdmz O7BlO3XkdtaFEl80xmLpn8iUBDnUj75XIWFMSAwUcQyGAJv1.KBP258.Fujw SIGTmZ.oeJrR7_XbBUtGiD8y9Ncw2GuSlo6Nx98DROLBpMkRPpdS2JNNZ7SB HUe6fJG1H2eIIeGXK7u2V8POrUBELGAHguD8bbAfVkZDWJqRom2e_CzwIerw 3WNNc6UUErMcEEmlvE6mpv_95bPbT5.vGMhfK2ltm.TMqG9ejkBxFf25oZB0 UHEC2OuJUg92M8VCjlSEys4..BHR0VzGxscRa61PKmu4DPw5e0GtaOapIaA7 ydeLofg0.GF4ddShgdOVglLCUgBydbQ-- X-Yahoo-SMTP: opAkk_CswBAce_kJ3nIPlH80cJI- In-reply-to: <141001075325.ZM5718@torch.brasslantern.com> From: Oliver Kiddle References: <20140930172125.GA2703@xvii.vinc17.org> <20141001100033.0e10a30c@pwslap01u.europe.root.pri> <141001075325.ZM5718@torch.brasslantern.com> To: Zsh hackers list Subject: Re: zsh 5.0.6 hanged in freejob from TRAPCHLD MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <28551.1412177133.1@thecus.kiddle.eu> Date: Wed, 01 Oct 2014 17:25:33 +0200 Message-ID: <28552.1412177133@thecus.kiddle.eu> Bart wrote: > This plus the possibility of interrupting the copy from the saved state > back to the globals is the need for queue_signals() inside lexrestore(). Eww. Wouldn't it perhaps be easier and better in the long run to replace this whole save/restore/globals concept with non-global structs and make all the lexer functions take a pointer to the relevant instance of the struct. Oliver