bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: nl_langinfo on Solaris 2.6


From: Bruno Haible
Subject: Re: nl_langinfo on Solaris 2.6
Date: Mon, 30 May 2011 12:43:21 +0200
User-agent: KMail/1.9.9

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>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]