]> sourceware.org Git - newlib-cygwin.git/commit - winsup/utils/locale.cc
* locale.cc (printlocale): Remove.
authorCorinna Vinschen <corinna@vinschen.de>
Tue, 23 Feb 2010 14:07:08 +0000 (14:07 +0000)
committerCorinna Vinschen <corinna@vinschen.de>
Tue, 23 Feb 2010 14:07:08 +0000 (14:07 +0000)
commita2036998b1b5d611e7af0546063b12f35a204f39
tree1d37052a0cf269f12453640aa48da7d367166aea
parented64b7583c2e070fed210dbae9a4d6431bad4888
* 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.
winsup/utils/ChangeLog
winsup/utils/locale.cc
This page took 0.026645 seconds and 5 git commands to generate.