Bruno Haible wrote:
> test-nl_langinfo.c:53: assertion failed
> Abort - core dumped
> FAIL: test-nl_langinfo.sh
>
> Unknown. Needs investigation. Volunteers?
This test program
===============================================
#include <langinfo.h>
#include <locale.h>
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
int
main (int argc, char *argv[])
{
const char *l;
setlocale (LC_ALL, "C");
l = nl_langinfo (CODESET);
printf ("|%s|\n", l);
return 0;
}
===============================================
prints
||
On Solaris 7, it prints
|646|
Bruno
--
In memoriam Otto Neururer <http://de.wikipedia.org/wiki/Otto_Neururer>