This is the mail archive of the
cygwin-cvs@cygwin.com
mailing list for the Cygwin project.
src/winsup/utils ChangeLog locale.cc
- From: corinna at cygwin dot com
- To: cygwin-cvs at cygwin dot com
- Date: 23 Feb 2010 14:07:09 -0000
- Subject: src/winsup/utils ChangeLog locale.cc
CVSROOT: /cvs/src
Module name: src
Changes by: corinna@sourceware.org 2010-02-23 14:07:09
Modified files:
winsup/utils : ChangeLog locale.cc
Log message:
* locale.cc (printlocale): Remove.
(loc_t): New type to keep locale information for printing.
(print_codeset): New function to print codeset as on Linux.
(print_locale_with_codeset): New function to print single locale.
Print verbose style as the Linux locale(1) tool.
(print_locale): New function to print single locale plus its UTF-8
variation, if available.
(compare_locales): New helper function for bsearch and qsort on loc_t.
(add_locale): New function to store locale in loc_t array.
(add_locale_alias_locales): New function to store locales from
locale.alias file in loc_t.
(print_all_locales): Call add_locale instead of printlocale.
Call add_locale_alias_locales, sort locales alphabetically and print
them.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/utils/ChangeLog.diff?cvsroot=src&r1=1.518&r2=1.519
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/utils/locale.cc.diff?cvsroot=src&r1=1.3&r2=1.4