From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kevin Ryde Newsgroups: gmane.lisp.guile.devel Subject: Re: Text collation Date: Wed, 13 Dec 2006 08:37:09 +1100 Message-ID: <871wn423ui.fsf@zip.com.au> References: <877j00cirs.fsf@laas.fr> <87hcz3mqhr.fsf@zip.com.au> <87r6x0qjyy.fsf@laas.fr> NNTP-Posting-Host: dough.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1165959485 22660 80.91.229.10 (12 Dec 2006 21:38:05 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 12 Dec 2006 21:38:05 +0000 (UTC) Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Tue Dec 12 22:38:03 2006 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by dough.gmane.org with esmtp (Exim 4.50) id 1GuFK4-0004kO-0O for guile-devel@m.gmane.org; Tue, 12 Dec 2006 22:38:00 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GuFK3-0002xV-Ge for guile-devel@m.gmane.org; Tue, 12 Dec 2006 16:37:59 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GuFJV-0002dz-Ow for guile-devel@gnu.org; Tue, 12 Dec 2006 16:37:25 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GuFJT-0002cl-IB for guile-devel@gnu.org; Tue, 12 Dec 2006 16:37:25 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GuFJT-0002cV-CQ for guile-devel@gnu.org; Tue, 12 Dec 2006 16:37:23 -0500 Original-Received: from [61.8.2.215] (helo=mailout1.pacific.net.au) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GuFJT-0005hX-69 for guile-devel@gnu.org; Tue, 12 Dec 2006 16:37:23 -0500 Original-Received: from mailproxy1.pacific.net.au (mailproxy1.pacific.net.au [61.8.2.162]) by mailout1.pacific.net.au (Postfix) with ESMTP id 4E44B32826D for ; Wed, 13 Dec 2006 08:37:12 +1100 (EST) Original-Received: from localhost (ppp2728.dyn.pacific.net.au [61.8.39.40]) by mailproxy1.pacific.net.au (Postfix) with ESMTP id B97628C16 for ; Wed, 13 Dec 2006 08:37:11 +1100 (EST) Original-Received: from gg by localhost with local (Exim 4.63) (envelope-from ) id 1GuFJF-000786-UL for guile-devel@gnu.org; Wed, 13 Dec 2006 08:37:09 +1100 Original-To: Guile-Devel Mail-Copies-To: never In-Reply-To: <87r6x0qjyy.fsf@laas.fr> (Ludovic =?iso-8859-1?Q?Court=E8s's?= message of "Sun, 22 Oct 2006 20:33:09 +0200") User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:6323 Archived-At: ludovic.courtes@laas.fr (Ludovic Court=E8s) writes: > > +/* Throw an exception corresponding to error ERR. */ > +static void inline > +scm_locale_error (const char *func_name, int err) > +{ > + SCM s_err; > + > + s_err =3D scm_from_int (err); > + scm_error (scm_system_error_key, func_name, > + "Failed to install locale", > + scm_cons (scm_strerror (s_err), SCM_EOL), > + scm_cons (s_err, SCM_EOL)); > +} This doesn't display, :3:1: In procedure string-locale:3:1: Failed to install locale Exception during displaying of error: misc-error ABORT: (system-error) It'd be good if it was a standard SCM_SYSERROR and was detected on creating a locale. Incidentally, in the fallback code there seems to be something fishy after a failed install. If you try to use the offending locale object a second time it succeeds. _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://lists.gnu.org/mailman/listinfo/guile-devel