This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: intl patches (26)


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   `------------------------


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]