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
..
README
fetch-lc-def-codesets-from-linux Cygwin: fetch-lc-def-codesets-from-linux: fix locale name handling 2023-02-26 20:14:54 +01:00
fetch-lc_collate-elements-from-glibc
fetch-lc_messages-from-linux.c
fetch-lc_time_era-from-linux.c

README

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.