diff --git a/ChangeLog.txt b/ChangeLog.txt index a451e16565..2fe6f1183c 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt @@ -10,6 +10,27 @@ * Change, ! Fix, % Optimization, + Addition, - Removal, ; Comment */ +2014-12-04 10:06 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) + * ChangeLog.txt + * contrib/hbct/doc/en/dattime3.txt + * contrib/hbmzip/mzip.c + * contrib/xhb/filestat.c + * src/common/hbffind.c + * src/rdd/hbsix/sxcompr.c + * src/rtl/filebuf.c + * src/rtl/filesys.c + * src/rtl/fssize.c + * src/rtl/fstemp.c + ! typo in comments + + * src/common/hbfsapi.c + ! hb_fsFNameMerge() fixed to not refer to szDrive in HB_TRACE mode + (2014-11-29 14:29 UTC+0100 Viktor Szakats) + + * src/rtl/fnsplit.c + * removed szDrive setting before call to hb_fsFNameMerge() - it's not + longer necessary + 2014-12-03 11:46 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/hbexprb.c ! fixed GPF in compilation of this code: @@ -128923,7 +128944,7 @@ * harbour/source/vm/set.c * harbour/source/rtl/cdpapi.c * replace old hb_vmProcessSymbols() with hb_vmProcessSymbolsEx() - and removed hb_vmProcessSymbolsEx() - it efectively force all .prg + and removed hb_vmProcessSymbolsEx() - it effectively force all .prg code recompilation * removed old hb_vmProcessDllSymbols() * changed 'char *' to 'const char *' in: diff --git a/contrib/hbct/doc/en/dattime3.txt b/contrib/hbct/doc/en/dattime3.txt index 9c9f0a4aa2..f5b9bd4de9 100644 --- a/contrib/hbct/doc/en/dattime3.txt +++ b/contrib/hbct/doc/en/dattime3.txt @@ -124,7 +124,7 @@ Designates whether the time should also be set in the CMOS-RAM of an AT. The default is do not write to CMOS-RAM. Note that in Windows platform this adjust is automatic, therefore this parameter is - without efect. + without effect. $RETURNS$ The FUNCTION RETURNs .T. when the time is set successfully. $DESCRIPTION$ @@ -172,8 +172,8 @@ Designates whether the date should also be set in the CMOS- RAM of an AT. The default is do not write (.F.). Note that in Windows - plataform this adjust is automatic, therefore this parameter is without - efect. + platform this adjust is automatic, therefore this parameter is without + effect. $RETURNS$ SetDate() RETURNs .T. when the date is successfully set. $DESCRIPTION$ diff --git a/contrib/hbmzip/mzip.c b/contrib/hbmzip/mzip.c index 4537130cbf..e91dda6c92 100644 --- a/contrib/hbmzip/mzip.c +++ b/contrib/hbmzip/mzip.c @@ -97,7 +97,7 @@ #if defined( __USE_LARGEFILE64 ) /* * The macro: __USE_LARGEFILE64 is set when _LARGEFILE64_SOURCE is - * define and efectively enables lseek64/flock64/ftruncate64 functions + * define and effectively enables lseek64/flock64/ftruncate64 functions * on 32bit machines. */ #define HB_USE_LARGEFILE64 diff --git a/contrib/xhb/filestat.c b/contrib/xhb/filestat.c index a330535fe9..925268eea0 100644 --- a/contrib/xhb/filestat.c +++ b/contrib/xhb/filestat.c @@ -74,7 +74,7 @@ #if defined( __USE_LARGEFILE64 ) /* * The macro: __USE_LARGEFILE64 is set when _LARGEFILE64_SOURCE is - * define and efectively enables lseek64/flock64/ftruncate64 functions + * define and effectively enables lseek64/flock64/ftruncate64 functions * on 32bit machines. */ #define HB_USE_LARGEFILE64 diff --git a/src/common/hbffind.c b/src/common/hbffind.c index 0deee60705..ecf8e4aa87 100644 --- a/src/common/hbffind.c +++ b/src/common/hbffind.c @@ -178,7 +178,7 @@ #if defined( __USE_LARGEFILE64 ) /* * The macro: __USE_LARGEFILE64 is set when _LARGEFILE64_SOURCE is - * define and efectively enables lseek64/flock64/ftruncate64 functions + * define and effectively enables lseek64/flock64/ftruncate64 functions * on 32bit machines. */ #define HB_USE_LARGEFILE64 diff --git a/src/common/hbfsapi.c b/src/common/hbfsapi.c index b7613d93a6..bff4c06b09 100644 --- a/src/common/hbfsapi.c +++ b/src/common/hbfsapi.c @@ -81,7 +81,7 @@ #if defined( __USE_LARGEFILE64 ) /* * The macro: __USE_LARGEFILE64 is set when _LARGEFILE64_SOURCE is - * define and efectively enables lseek64/flock64/ftruncate64 functions + * define and effectively enables lseek64/flock64/ftruncate64 functions * on 32bit machines. */ #define HB_USE_LARGEFILE64 @@ -237,7 +237,7 @@ PHB_FNAME hb_fsFNameSplit( const char * pszFileName ) /* NOTE: szFileName buffer must be at least HB_PATH_MAX long. * Because some freign code may not be updated yet then - * hb_fsFNameMerge() efectively uses only HB_PATH_MAX buffer + * hb_fsFNameMerge() effectively uses only HB_PATH_MAX buffer * but it will be changed in the future. */ @@ -299,7 +299,6 @@ char * hb_fsFNameMerge( char * pszFileName, PHB_FNAME pFileName ) HB_TRACE( HB_TR_INFO, ( "hb_fsFNameMerge: szPath: |%s|", pFileName->szPath ) ); HB_TRACE( HB_TR_INFO, ( "hb_fsFNameMerge: szName: |%s|", pFileName->szName ) ); HB_TRACE( HB_TR_INFO, ( "hb_fsFNameMerge: szExt: |%s|", pFileName->szExtension ) ); - HB_TRACE( HB_TR_INFO, ( "hb_fsFNameMerge: szDrive: |%s|", pFileName->szDrive ) ); HB_TRACE( HB_TR_INFO, ( "hb_fsFNameMerge: Filename: |%s|", pszFileName ) ); } diff --git a/src/rdd/hbsix/sxcompr.c b/src/rdd/hbsix/sxcompr.c index c3a6988a0b..39ae699ef0 100644 --- a/src/rdd/hbsix/sxcompr.c +++ b/src/rdd/hbsix/sxcompr.c @@ -62,7 +62,7 @@ original bytes from input string instead of position and match length in the ring buffer when the match length does not reach some limit. In SIX the minimum match length is 3 and it is used to increase to match length - in 4 bit offset by adding 3 also so the efective maximum match length is + in 4 bit offset by adding 3 also so the effective maximum match length is 18. Of course we have to store the information about the type of item in compressed data to know it is (offset+length) pair or simple byte. SIX put 1 byte in compressed data which inform about the type of next diff --git a/src/rtl/filebuf.c b/src/rtl/filebuf.c index ff3ef86ece..e937fc56a5 100644 --- a/src/rtl/filebuf.c +++ b/src/rtl/filebuf.c @@ -70,7 +70,7 @@ #if defined( __USE_LARGEFILE64 ) /* * The macro: __USE_LARGEFILE64 is set when _LARGEFILE64_SOURCE is - * define and efectively enables lseek64/flock64/ftruncate64 functions + * define and effectively enables lseek64/flock64/ftruncate64 functions * on 32bit machines. */ #define HB_USE_LARGEFILE64 diff --git a/src/rtl/filesys.c b/src/rtl/filesys.c index 0fc45b1e9c..2a6c632dc1 100644 --- a/src/rtl/filesys.c +++ b/src/rtl/filesys.c @@ -215,7 +215,7 @@ #if defined( __USE_LARGEFILE64 ) /* * The macro: __USE_LARGEFILE64 is set when _LARGEFILE64_SOURCE is - * defined and efectively enables lseek64/flock64/ftruncate64 functions + * defined and effectively enables lseek64/flock64/ftruncate64 functions * on 32bit machines. */ #define HB_USE_LARGEFILE64 diff --git a/src/rtl/fnsplit.c b/src/rtl/fnsplit.c index 0671ed49f3..91c5ed7de7 100644 --- a/src/rtl/fnsplit.c +++ b/src/rtl/fnsplit.c @@ -69,7 +69,6 @@ HB_FUNC( HB_FNAMEMERGE ) pFileName.szPath = hb_parc( 1 ); pFileName.szName = hb_parc( 2 ); pFileName.szExtension = hb_parc( 3 ); - pFileName.szDrive = NULL; hb_retc( hb_fsFNameMerge( szFileName, &pFileName ) ); } diff --git a/src/rtl/fssize.c b/src/rtl/fssize.c index 0986d22a97..ea7d872def 100644 --- a/src/rtl/fssize.c +++ b/src/rtl/fssize.c @@ -64,7 +64,7 @@ #if defined( __USE_LARGEFILE64 ) /* * The macro: __USE_LARGEFILE64 is set when _LARGEFILE64_SOURCE is - * define and efectively enables lseek64/flock64/ftruncate64 functions + * define and effectively enables lseek64/flock64/ftruncate64 functions * on 32bit machines. */ #define HB_USE_LARGEFILE64 diff --git a/src/rtl/fstemp.c b/src/rtl/fstemp.c index 0448dde32a..bcfe3473a2 100644 --- a/src/rtl/fstemp.c +++ b/src/rtl/fstemp.c @@ -90,7 +90,7 @@ #if defined( __USE_LARGEFILE64 ) /* * The macro: __USE_LARGEFILE64 is set when _LARGEFILE64_SOURCE is - * defined and efectively enables lseek64/flock64/ftruncate64 functions + * defined and effectively enables lseek64/flock64/ftruncate64 functions * on 32bit machines. */ #define HB_USE_LARGEFILE64