https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=4f999b4eabb1121a2cfab937a908310350b76fa2

commit 4f999b4eabb1121a2cfab937a908310350b76fa2
Author: Corinna Vinschen <[email protected]>
Date:   Wed Jul 28 22:18:38 2021 +0200

    Cygwin: utils: tzmap-from-unicode.org: enforce sorting order for LANG=C
    
    Generating the tzmap.h file requires to use the default sorting order.
    
    Signed-off-by: Corinna Vinschen <[email protected]>

Diff:
---
 winsup/utils/tzmap-from-unicode.org | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/winsup/utils/tzmap-from-unicode.org 
b/winsup/utils/tzmap-from-unicode.org
index af2b342c0..5f55a51e3 100755
--- a/winsup/utils/tzmap-from-unicode.org
+++ b/winsup/utils/tzmap-from-unicode.org
@@ -71,5 +71,5 @@ wget -O - "${ZONES_FILE}" | \
   echo '  { L"Mid-Atlantic Standard Time", L"", L"Atlantic/South_Georgia" },'
   echo '  { L"SA Pacific Standard Time", L"HT", L"America/Port-au-Prince" },'
   echo '  { L"South Africa Standard Time", L"LY", L"Africa/Tripoli" },'
-} | sort -d
+} | LC_ALL=C sort -d
 echo "};"

Reply via email to