From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29046 invoked from network); 4 Dec 2007 23:55:58 -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; 4 Dec 2007 23:55:58 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 42028 invoked from network); 4 Dec 2007 19:55:54 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 4 Dec 2007 19:55:54 -0000 Received: (qmail 7718 invoked by alias); 4 Dec 2007 19:55:48 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 24157 Received: (qmail 7691 invoked from network); 4 Dec 2007 19:55:48 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 4 Dec 2007 19:55:48 -0000 Received: (qmail 41543 invoked from network); 4 Dec 2007 19:55:48 -0000 Received: from smtp3-g19.free.fr (212.27.42.29) by a.mx.sunsite.dk with SMTP; 4 Dec 2007 19:55:41 -0000 Received: from smtp3-g19.free.fr (localhost.localdomain [127.0.0.1]) by smtp3-g19.free.fr (Postfix) with ESMTP id 38E2417B581 for ; Tue, 4 Dec 2007 20:55:41 +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 EEB1C17B54F for ; Tue, 4 Dec 2007 20:55:40 +0100 (CET) Date: Tue, 4 Dec 2007 20:49:04 +0100 From: Guillaume Chazarain To: Zsh Hackers' List Subject: Re: deadlock caused by gettext usage in a signal handler Message-ID: <20071204204904.0822bf28@inria.fr> In-Reply-To: <20071204194309.7ca3e250.p.w.stephenson@ntlworld.com> References: <20071130203534.1d1ea29c@inria.fr> <20071203224324.247fb30f.p.w.stephenson@ntlworld.com> <20071204190219.037a5400@inria.fr> <200712041824.lB4IOowf006457@news01.csr.com> <20071204194314.136c08ad@inria.fr> <20071204194309.7ca3e250.p.w.stephenson@ntlworld.com> 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 Tue, 4 Dec 2007 19:43:09 +0000, Peter Stephenson a =C3=A9crit : > I don't see an easy way out at the moment. Not even the one I proposed in http://article.gmane.org/gmane.comp.shells.zsh.devel/13888? rewrite strerror() in Zsh to initially build a static table of translated error messages as well as the translation of "Unknown error ". It's not trivial and speedy, but it should be safe I think. Thanks. --=20 Guillaume