On Fri, Apr 16, 2010 at 01:29:17PM -0700, Alan Coopersmith wrote:
> ольга крыжановская wrote:
> > Its really a problem when you have all possible locales installed.
> 
> gdm instead loops through setlocale() to get the list of valid locales, which
> results in ending up with half a gigabyte of memory maps if you have lots of
> locales installed:
> 
> http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6920064
> http://defect.opensolaris.org/bz/show_bug.cgi?id=11842

and gdm needs to maintain list of all possible locales in
/usr/share/gdm/locale.alias ... not a good way.

By the way, the locale -a do it in very simillar way
http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/cmd/locale/locale.c#574
it is the reason why it takes so long.

regards,
- jenda
_______________________________________________
networking-discuss mailing list
[email protected]

Reply via email to