[PATCH] Fix minimal locale generation (UCLIBC_BUILD_MINIMAL_LOCALE)

Marc Andre Tanner mat at brain-dump.org
Mon Oct 12 11:24:00 UTC 2009


On Sun, Oct 11, 2009 at 01:03:31AM +0200, Bernhard Reutner-Fischer wrote:
> On Sat, Oct 10, 2009 at 05:42:51PM +0200, Marc Andre Tanner wrote:
> >On Sat, Oct 10, 2009 at 03:51:49PM +0200, Bernhard Reutner-Fischer wrote:
> 
> >> I'd rather do something like the attached..
> >
> >Yes this is even better! Does this mean that it will be "officially" 
> >supported?
> 
> It should use a choice for "all" vs. "selected" locales and i think
> the wctables should also use the given selected, for consistency.

Ok, I am not sure whether I understand what you mean hear.

Currently wctables.h contains only the data for 1 locale (en_US or if that
fails en_GB). Now you would like to generate the data for all locales
specified in UCLIBC_BUILD_MINIMAL_LOCALES, right? As far as I can see this
would need some changes in gen_wctype.c so it builds all the locales given
on the command line.

Is this really needed?
 
> Perhaps you want to expand it and submit a tested patch? :)

Your patch works for me and is already a big improvement and I would like 
to see it commited. In my opinion the wctables.h issue is a separate thing 
which can be fixed independently. 

Marc

-- 
 Marc Andre Tanner >< http://www.brain-dump.org/ >< GPG key: CF7D56C0


More information about the uClibc mailing list