4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-02-13 04:29:09 +08:00

Cygwin: tzmap-from-unicode.org: drop support for Vista/2008

Commit b794f2c6038f ("Cygwin: drop support for systems not supporting
RFC 4646 locales") erroneously changed tzmap.h manually.  Change
the script accordingly.

Fixes: b794f2c6038f ("Cygwin: drop support for systems not supporting RFC 4646 locales")
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
Corinna Vinschen 2024-03-20 22:59:37 +01:00
parent 70375b2205
commit 18bd5d3671

View File

@ -40,13 +40,6 @@ echo " Kaliningrad Standard Time/BY"
echo " SA Pacific Standard Time/HT "
echo " South Africa Standard Time/LY"
echo ""
echo " It also doesn't contain deprecated country codes used in older"
echo " OSes, namely:"
echo ""
echo " CS (Serbian and Montenegro, dissolved, now RS and ME) used in Vista"
echo " "
echo " While these are apparently old, they are required here to get a complete"
echo " mapping on all supported OSes. */"
echo "struct"
echo "{"
echo " PCWSTR win_tzkey;"
@ -59,7 +52,6 @@ wget -O - "${ZONES_FILE}" | \
sed -n -e 's#territory="001"#territory=""#
s#Asia/Calcutta#Asia/Kolkata#
s#.*mapZone other=\("[^"]*"\) territory=\("[^"]*"\) type=\("[^"]*"\).*# { L\1, L\2, L\3 },#p'
echo ' { L"Central Europe Standard Time", L"CS", L"Europe/Belgrade" },'
echo ' { L"E. Europe Standard Time", L"", L"Asia/Nicosia" },'
echo ' { L"E. Europe Standard Time", L"CY", L"Asia/Nicosia" },'
echo ' { L"Eastern Standard Time", L"TC", L"America/Grand_Turk" },'