4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-01-19 04:49:25 +08:00
newlib-cygwin/winsup/cygwin/linux-locale-helpers
Corinna Vinschen 5011c8cc48 Cygwin: fetch-lc-def-codesets-from-linux: fix locale name handling
As the former call to `locale -av' has the unwanted side effect
to shorten the locale name to <= 15 chars, don't use it.  Use
`locale -a' instead and fetch the codeset from another call to
`locale' for each locale.

Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
2023-02-26 20:14:54 +01:00
..

These scripts and helper applications are used to create locale data
required for complete locale support, but either missing in Windows
or implemented in a non-POSIXy way.

The script has to run from inside a glibc git clone.
The C tools can be built without any special options.

All three tools generate the new locale headers (lc_collelem.h,
lc_era.h, lc_msg.h) in the current working directory.  They can just
be copied to local_includes and commited without further changes.