From a544b285ca06531bc5e97bf563d8f264f14008b8 Mon Sep 17 00:00:00 2001 From: Przemyslaw Czerpak Date: Tue, 8 May 2012 15:47:37 +0000 Subject: [PATCH] 2012-05-08 17:47 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * harbour/utils/hbmk2/hbmk2.prg ! sort functions in .hbx files using "EN" CP. This modification fixed problem with resorted functions in .hbx files for CPs using non ASCII collation order for [A-Z], [0-9] and [_] characters --- harbour/ChangeLog | 7 +++++++ harbour/utils/hbmk2/hbmk2.prg | 2 ++ 2 files changed, 9 insertions(+) diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 121bba9325..fc68e7515b 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -16,6 +16,13 @@ The license applies to all entries newer than 2009-04-28. */ +2012-05-08 17:47 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) + * harbour/utils/hbmk2/hbmk2.prg + ! sort functions in .hbx files using "EN" CP. + This modification fixed problem with resorted + functions in .hbx files for CPs using non ASCII + collation order for [A-Z], [0-9] and [_] characters + 2012-05-08 17:29 UTC+0200 Viktor Szakats (harbour syenar.net) - bin/hb3rdpat.hbs + bin/3rdpatch.hb diff --git a/harbour/utils/hbmk2/hbmk2.prg b/harbour/utils/hbmk2/hbmk2.prg index 475de2f1dc..10ee8beb43 100644 --- a/harbour/utils/hbmk2/hbmk2.prg +++ b/harbour/utils/hbmk2/hbmk2.prg @@ -11768,7 +11768,9 @@ STATIC FUNCTION __hb_extern_get_list( hbmk, cInputName, cBin_LibHBX, cOpt_LibHBX hExtern[ tmp[ 2 ] ] := NIL ENDIF NEXT + tmp := hb_cdpSelect( "EN" ) ASort( aExtern,,, {| tmp, tmp1 | tmp < tmp1 } ) + hb_cdpSelect( tmp ) ENDIF ENDIF