From ace96732baeb9d21276914e19a4ad710f638a5aa Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Tue, 30 Jun 2009 00:07:56 +0200 Subject: [PATCH] Update u32_casemap invocation. --- ChangeLog | 5 +++++ lib/unicase/u32-toupper.c | 4 +++- modules/unicase/u32-toupper | 2 ++ 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 6ee6bce9f..e6ef6f620 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2009-06-29 Bruno Haible + * lib/unicase/u32-toupper.c (u32_toupper): Update u32_casemap + invocation. + * modules/unicase/u32-toupper (Depends-on): Add + unicase/empty-prefix-context, unicase/empty-suffix-context. + * lib/unicase/u16-toupper.c (u16_toupper): Update u16_casemap invocation. * modules/unicase/u16-toupper (Depends-on): Add diff --git a/lib/unicase/u32-toupper.c b/lib/unicase/u32-toupper.c index 152e04891..3430ad952 100644 --- a/lib/unicase/u32-toupper.c +++ b/lib/unicase/u32-toupper.c @@ -30,7 +30,9 @@ u32_toupper (const uint32_t *s, size_t n, const char *iso639_language, uninorm_t nf, uint32_t *resultbuf, size_t *lengthp) { - return u32_casemap (s, n, iso639_language, + return u32_casemap (s, n, + unicase_empty_prefix_context, unicase_empty_suffix_context, + iso639_language, uc_toupper, offsetof (struct special_casing_rule, upper[0]), nf, resultbuf, lengthp); diff --git a/modules/unicase/u32-toupper b/modules/unicase/u32-toupper index 477f46fcf..79d9e15fb 100644 --- a/modules/unicase/u32-toupper +++ b/modules/unicase/u32-toupper @@ -8,6 +8,8 @@ Depends-on: unicase/base unicase/u32-casemap unicase/special-casing +unicase/empty-prefix-context +unicase/empty-suffix-context unicase/toupper configure.ac: -- 2.11.0