From owner-freebsd-hackers Mon May 3 0: 3:50 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from hermes.epita.fr (hermes.epita.fr [194.98.116.10]) by hub.freebsd.org (Postfix) with ESMTP id 64E5B14DA5 for ; Mon, 3 May 1999 00:03:46 -0700 (PDT) (envelope-from pixel@dotcom.fr) Received: from aux.epita.fr (aux [10.42.1.37]) by hermes.epita.fr id JAA18317 for EPITA Paris France Mon, 3 May 1999 09:03:41 GMT Received: from ppp-an-04.epita.fr [163.5.44.4] by aux.epita.fr for Paris France Mon, 3 May 1999 09:03:44 GMT Message-ID: <005001be94f8$0aaa8460$042c05a3@celtic> Reply-To: "pixel" From: "pixel" To: Subject: setlocale() returns NULL when it should not Date: Mon, 3 May 1999 01:43:23 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.72.3110.1 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, Lords, Using this small test program on my 2.2.8 box (which I cannot upgrade to 3.x for some political reasons) : #include void main(void) { char *l; l = setlocale(LC_MESSAGES,NULL); printf("%p : %s\n",l,(l ? l : "NO LC_MESSAGES"); } prints : 0x0 : NO LC_MESSAGES on my screen. Since It should not, I want to know if this is normal (ie setlocale() is broken on 2.2.8) or not (ie my box is *really* broken :). Thanks for your help. -- pixel@{epita,dotcom}.fr To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message