https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64132

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |WAITING

--- Comment #11 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Since I can't reproduce this I can't debug it. Is anybody seeing this on
non-Debian systems?

Can somebody who sees the bug please see what this says:

#define _GNU_SOURCE
#include <langinfo.h>
#include <locale.h>
#include <stdio.h>
int main()
{
  setlocale(LC_NUMERIC, "nl_NL.ISO8859-15@euro");
  const char* thousands_sep = nl_langinfo(THOUSANDS_SEP);
  if (*thousands_sep)
  {
    const char* grouping = nl_langinfo(GROUPING);
    printf("THOUSANDS_SEP: 0x%x\nGROUPING: ", (unsigned)*thousands_sep);
    while (*grouping)
      printf(" %d", (int)*grouping++);
    puts("");
  }
  else
    puts("no grouping");
}

Reply via email to