Date: Mon, 3 May 1999 01:43:23 +0200 From: "pixel" <pixel@dotcom.fr> To: <freebsd-hackers@freebsd.org> Subject: setlocale() returns NULL when it should not Message-ID: <005001be94f8$0aaa8460$042c05a3@celtic>
next in thread | raw e-mail | index | archive | help
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 <locale.h>
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?005001be94f8$0aaa8460$042c05a3>
