Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libc/locale redo: change _RUNTYPE_SW0 bit, mklocale(1) c...
details: https://anonhg.NetBSD.org/src/rev/6da482f0d971
branches: trunk
changeset: 748898:6da482f0d971
user: tnozaki <tnozaki%NetBSD.org@localhost>
date: Mon Nov 09 14:22:31 2009 +0000
description:
redo: change _RUNTYPE_SW0 bit, mklocale(1) can't treat SWIDTH0 correctly.
diffstat:
lib/libc/locale/runetype_local.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 3248bda6d3c1 -r 6da482f0d971 lib/libc/locale/runetype_local.h
--- a/lib/libc/locale/runetype_local.h Mon Nov 09 14:22:02 2009 +0000
+++ b/lib/libc/locale/runetype_local.h Mon Nov 09 14:22:31 2009 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: runetype_local.h,v 1.4 2009/11/09 14:20:49 tnozaki Exp $ */
+/* $NetBSD: runetype_local.h,v 1.5 2009/11/09 14:22:31 tnozaki Exp $ */
/*-
* Copyright (c) 1993
@@ -74,7 +74,7 @@
#define _RUNETYPE_Q UINT32_C(0x00200000) /* Phonogram */
#define _RUNETYPE_SWM UINT32_C(0xc0000000)/* Mask to get screen width data */
#define _RUNETYPE_SWS 30 /* Bits to shift to get width */
-#define _RUNETYPE_SW0 UINT32_C(0x00000000) /* 0 width character */
+#define _RUNETYPE_SW0 UINT32_C(0x20000000) /* 0 width character */
#define _RUNETYPE_SW1 UINT32_C(0x40000000) /* 1 width character */
#define _RUNETYPE_SW2 UINT32_C(0x80000000) /* 2 width character */
#define _RUNETYPE_SW3 UINT32_C(0xc0000000) /* 3 width character */
Home |
Main Index |
Thread Index |
Old Index