Egmont Koblinger wrote:
+static int is_zero_width(long ucs) +{ + static const struct interval zero_width[] = {
/* lots */
+ };
I'm still unhappy about these large search tables in the kernel, not because they take a huge amount of space (it's not that much), but because they're invariably going to be stale, as they're Unicode-version dependent.
At least please put them in a separate .c file and include a script to generate them clean from UnicodeData.txt.
Besides, would it not make more sense to have a single table with the width information, if you insist on having one, instead of multiple ones?
-hpa - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- Re: [PATCH] console UTF-8 fixes
- From: Egmont Koblinger <[email protected]>
- Re: [PATCH] console UTF-8 fixes
- From: Egmont Koblinger <[email protected]>
- Re: [PATCH] console UTF-8 fixes
- References:
- [PATCH] console UTF-8 fixes
- From: Egmont Koblinger <[email protected]>
- Re: [PATCH] console UTF-8 fixes
- From: "H. Peter Anvin" <[email protected]>
- Re: [PATCH] console UTF-8 fixes
- From: Egmont Koblinger <[email protected]>
- Re: [PATCH] console UTF-8 fixes
- From: Jan Engelhardt <[email protected]>
- Re: [PATCH] console UTF-8 fixes
- From: Egmont Koblinger <[email protected]>
- Re: [PATCH] console UTF-8 fixes
- From: "H. Peter Anvin" <[email protected]>
- Re: [PATCH] console UTF-8 fixes
- From: Egmont Koblinger <[email protected]>
- Re: [PATCH] console UTF-8 fixes
- From: "H. Peter Anvin" <[email protected]>
- Re: [PATCH] console UTF-8 fixes
- From: Egmont Koblinger <[email protected]>
- Re: [PATCH] console UTF-8 fixes
- From: Alan Cox <[email protected]>
- Re: [PATCH] console UTF-8 fixes
- From: Egmont Koblinger <[email protected]>
- [PATCH] console UTF-8 fixes
- Prev by Date: Re: [patch v2] Fixes and cleanups for earlyprintk aka boot console.
- Next by Date: parallel port problems with 2.6.21_rc5 and 2.6.21_rc6_git3-20070410174235
- Previous by thread: Re: [PATCH] console UTF-8 fixes
- Next by thread: Re: [PATCH] console UTF-8 fixes
- Index(es):