From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Bruno Haible Newsgroups: gmane.lisp.guile.devel Subject: Re: setlocale - incorrect error signalled Date: Mon, 24 Jan 2005 16:19:59 +0100 Message-ID: <200501241619.59052.bruno@clisp.org> References: <200501211315.01753.bruno@clisp.org> <87mzv2e9l5.fsf@zip.com.au> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1106582479 18322 80.91.229.6 (24 Jan 2005 16:01:19 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 24 Jan 2005 16:01:19 +0000 (UTC) Cc: guile-devel@gnu.org Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Mon Jan 24 17:01:08 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1Ct6eJ-0006Fc-00 for ; Mon, 24 Jan 2005 17:01:08 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ct6qW-0007Mx-CD for guile-devel@m.gmane.org; Mon, 24 Jan 2005 11:13:44 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ct6m1-0005eH-Hm for guile-devel@gnu.org; Mon, 24 Jan 2005 11:09:05 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ct6lp-0005Zt-LK for guile-devel@gnu.org; Mon, 24 Jan 2005 11:08:54 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ct6lp-0005SL-GF for guile-devel@gnu.org; Mon, 24 Jan 2005 11:08:53 -0500 Original-Received: from [81.80.162.195] (helo=ftp.ilog.fr) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Ct66K-0005A3-KN for guile-devel@gnu.org; Mon, 24 Jan 2005 10:26:01 -0500 Original-Received: from laposte.ilog.fr (cerbere-qfe0 [81.80.162.193]) by ftp.ilog.fr (8.13.1/8.13.1) with ESMTP id j0OFPuuh028862; Mon, 24 Jan 2005 16:25:57 +0100 (MET) Original-Received: from honolulu.ilog.fr ([192.168.7.20]) by laposte.ilog.fr (8.13.1/8.13.1) with ESMTP id j0OFPmTo013053; Mon, 24 Jan 2005 16:25:50 +0100 (MET) Original-Received: from localhost (localhost [127.0.0.1]) by honolulu.ilog.fr (Postfix) with ESMTP id 5FD9C3B45D; Mon, 24 Jan 2005 15:20:01 +0000 (UTC) Original-To: Kevin Ryde User-Agent: KMail/1.5 In-Reply-To: <87mzv2e9l5.fsf@zip.com.au> Content-Disposition: inline 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: main.gmane.org gmane.lisp.guile.devel:4737 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.devel:4737 Kevin Ryde wrote: > > rv = setlocale (scm_i_to_lc_category (category, 1), clocale); > > if (rv == NULL) > > SCM_SYSERROR; <=== This is the problem. > > Could force an errno=EINVAL in there, so that's always the error > given. Yes, this is good. Thanks. Bruno _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://lists.gnu.org/mailman/listinfo/guile-devel