From 28e933ee9cd213d53ade7db1c23aeb8b4796cba7 Mon Sep 17 00:00:00 2001 From: Maurilio Longo Date: Sat, 15 Apr 2000 17:10:41 +0000 Subject: [PATCH] 20000415-19:09 GMT+2 Maurilio Longo --- harbour/ChangeLog | 5 +++++ harbour/source/rdd/dbfcdx/dbfcdx1.c | 6 ++++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 4701c77a94..1033b0a716 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -1,3 +1,8 @@ +20000415-19:09 GMT+2 Maurilio Longo + + * source/rdd/dbfcdx/dbfcdx1.c + ! testdbf was failing with missing symbols, fixed to let testdbf compile + 20000415-18:37 GMT+2 Maurilio Longo * source/rdd/dbfcdx/dbfcdx1.c diff --git a/harbour/source/rdd/dbfcdx/dbfcdx1.c b/harbour/source/rdd/dbfcdx/dbfcdx1.c index 497eb5e691..6ee07fcd7a 100644 --- a/harbour/source/rdd/dbfcdx/dbfcdx1.c +++ b/harbour/source/rdd/dbfcdx/dbfcdx1.c @@ -37,6 +37,8 @@ #include #include +#include +#include #include "hbapi.h" #include "hbapiitm.h" @@ -1926,7 +1928,7 @@ static void hb_cdxIndexAddTag( LPINDEXINFO pIndex, char * szTagName, char * szKe pLastTag = NULL; while( pTag != NULL ) { - if( strcmpi( pTag->TagName, szTagName ) == 0 ) + if( stricmp( pTag->TagName, szTagName ) == 0 ) { pKey->Tag = pTag->TagBlock; if( hb_cdxTagKeyFind( pIndex->CompoundTag, pKey ) > 0 ) @@ -2076,7 +2078,7 @@ static void hb_cdxSortInsertWord( LPSORTINFO pSort, LONG Tag, char * Value ) SHORT v; LPSORTDATA wx; - ltoa( Tag, s + 1, 10 ); + _ltoa( Tag, s + 1, 10 ); w = strlen( Value ); if( pSort->NodeLimit - pSort->NodeCur < w + strlen( s + 1 ) + 1 ) {