From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 123 invoked from network); 7 Dec 2007 10:53:31 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.3 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 7 Dec 2007 10:53:31 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 18072 invoked from network); 7 Dec 2007 10:53:23 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 7 Dec 2007 10:53:23 -0000 Received: (qmail 27359 invoked by alias); 7 Dec 2007 10:53:20 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 24177 Received: (qmail 27344 invoked from network); 7 Dec 2007 10:53:19 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 7 Dec 2007 10:53:19 -0000 Received: (qmail 17704 invoked from network); 7 Dec 2007 10:53:19 -0000 Received: from smtp3-g19.free.fr (212.27.42.29) by a.mx.sunsite.dk with SMTP; 7 Dec 2007 10:53:13 -0000 Received: from smtp3-g19.free.fr (localhost.localdomain [127.0.0.1]) by smtp3-g19.free.fr (Postfix) with ESMTP id 1F4A917C0FD for ; Fri, 7 Dec 2007 11:53:12 +0100 (CET) Received: from localhost.localdomain (bar06-2-82-224-157-131.fbx.proxad.net [82.224.157.131]) by smtp3-g19.free.fr (Postfix) with ESMTP id C613317C10A for ; Fri, 7 Dec 2007 11:53:11 +0100 (CET) Date: Fri, 7 Dec 2007 11:46:31 +0100 From: Guillaume Chazarain To: "Zsh Hackers' List" Subject: Re: deadlock caused by gettext usage in a signal handler Message-ID: <20071207114631.7fa1eab9@inria.fr> In-Reply-To: <20071207103533.47776664@news01> References: <20071130203534.1d1ea29c@inria.fr> <20071204203017.35a29727.p.w.stephenson@ntlworld.com> <20071207000207.2eb7e5e7@inria.fr> <20071207103533.47776664@news01> X-Mailer: Claws Mail 3.0.2 (GTK+ 2.10.14; i386-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Le Fri, 7 Dec 2007 10:35:33 +0000, Peter Stephenson a =C3=A9crit : > The traditional zsh way is to queue signals > around an operation Oh, I didn't know queue_signals(). > but fork() is atomic to the calling code and blocking > should be quicker Ok, but I don't mind changing it to queue_signals(). > so your patch is fine and I've committed it. Thanks, how about reverting the strerror_r one (also in zsh-4.2)? --=20 Guillaume