[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
unistring bug
From: |
Andy Wingo |
Subject: |
unistring bug |
Date: |
Sat, 31 Mar 2012 14:39:59 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux) |
Hi,
The following program causes a segfault in the unistring that is current
in Debian sid:
#include <unistr.h>
#include <stdio.h>
int main (int argc, char *argv[])
{
int floral_leaf = 0x2767;
printf ("floral leaf: %s\n", u32_to_u8 (&floral_leaf, 1, 0, 0));
return 0;
}
Regards,
Andy
--
http://wingolog.org/
- unistring bug,
Andy Wingo <=