This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: intl patches (26)
- From: Ulrich Drepper <drepper at redhat dot com>
- To: Bruno Haible <haible at ilog dot fr>
- Cc: libc-alpha at sources dot redhat dot com
- Date: 27 Nov 2001 14:54:22 -0800
- Subject: Re: intl patches (26)
- References: <15357.1385.590651.409437@honolulu.ilog.fr>
- Reply-to: drepper at redhat dot com (Ulrich Drepper)
Bruno Haible <haible@ilog.fr> writes:
> msgfmt also needs to check the plural formula, so that 1. core dumps at run
> time through formulas like "plural= 1 + (1/n)" can be caught, 2. the nplurals
> value can be checked against the formula. To this effect, it is very useful
> if msgfmt can reuse the plural form evaluation code from libintl. Here is
> a patch that moves the plural_eval function to a separate file.
I've changed this patch. There is no need to compile the
plural-eval.c file into a separate file. Instead include this file in
dcigettext.c.
--
---------------. ,-. 1325 Chesapeake Terrace
Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA
Red Hat `--' drepper at redhat.com `------------------------