On Fri, Jan 14, 2011 at 05:21:46PM +0100, Stefan Sperling wrote: > On Thu, Jan 06, 2011 at 07:52:19PM +0300, Alexander Polakov wrote: > > * Alexander Polakov <polac...@gmail.com> [110105 17:20]: > > > Hi, > > > > > > here's an updated version. > > > > > > 1) en_US.UTF-8.src updates from FreeBSD > > Let's start with those. > > These changes are all fine, I checked them against Unicode 5.2. > http://www.unicode.org/Public/5.2.0/charts/CodeCharts-noHan.pdf > > The diff below (from Alexander) brings us up to par with FreeBSD. > Many updates could be made to this file to support additional > characters listed in Unicode 5.2.0 (or even 6.0.0). > But that can be done later. > > Can someone ok this? Thanks in advance.
Before the ctype changes can go in, we'll need to this part from Alexander's diff to fix mklocale (caught by nicm@, thanks!) These symbols are internal to libc, with exception of mklocale. Can this go in during ABI lock? Index: lib/libc/locale/runetype.h =================================================================== RCS file: /OpenBSD/src/lib/libc/locale/runetype.h,v retrieving revision 1.5 diff -u -r1.5 runetype.h --- lib/libc/locale/runetype.h 8 Oct 2007 08:17:15 -0000 1.5 +++ lib/libc/locale/runetype.h 6 Jan 2011 16:24:20 -0000 @@ -69,9 +69,9 @@ #define _RUNETYPE_I 0x00080000U /* Ideogram */ #define _RUNETYPE_T 0x00100000U /* Special */ #define _RUNETYPE_Q 0x00200000U /* Phonogram */ -#define _RUNETYPE_SWM 0xc0000000U/* Mask to get screen width data */ +#define _RUNETYPE_SWM 0xe0000000U /* Mask to get screen width data */ #define _RUNETYPE_SWS 30 /* Bits to shift to get width */ -#define _RUNETYPE_SW0 0x00000000U /* 0 width character */ +#define _RUNETYPE_SW0 0x20000000U /* 0 width character */ #define _RUNETYPE_SW1 0x40000000U /* 1 width character */ #define _RUNETYPE_SW2 0x80000000U /* 2 width character */ #define _RUNETYPE_SW3 0xc0000000U /* 3 width character */