2006-01-09 14:50 UTC+0100 Ryszard Glab <rglab@imid.med.pl>
* include/hbexprb.c
* source/compiler/exproptb.c
* source/macro/macrob.c
* fixed to release the memory if macro compiled code contains
a variable or a function reference
* source/rtl/filesys.c
* added missing '(' to copile correctly on UNIX'es
This commit is contained in:
@@ -8,6 +8,17 @@
|
||||
2002-12-01 13:30 UTC+0100 Foo Bar <foo.bar@foobar.org>
|
||||
*/
|
||||
* fixed <-x-> match marker
|
||||
2006-01-09 14:50 UTC+0100 Ryszard Glab <rglab@imid.med.pl>
|
||||
* include/hbexprb.c
|
||||
* source/compiler/exproptb.c
|
||||
* source/macro/macrob.c
|
||||
* fixed to release the memory if macro compiled code contains
|
||||
a variable or a function reference
|
||||
|
||||
* source/rtl/filesys.c
|
||||
* added missing '(' to copile correctly on UNIX'es
|
||||
|
||||
|
||||
2005-12-28 13:05 UTC+0100 Antonio Linares (alinares@fivetechsoft.com)
|
||||
* vm/maindll.c
|
||||
+ Added new functions HBDLLENTRY1() and HBDLLENTRY2()
|
||||
|
||||
@@ -828,6 +828,10 @@ static HB_EXPR_FUNC( hb_compExprUseVarRef )
|
||||
case HB_EA_STATEMENT:
|
||||
hb_compWarnMeaningless( pSelf );
|
||||
case HB_EA_DELETE:
|
||||
/* NOTE: variable name should be released if macro compilation */
|
||||
#if defined( HB_MACRO_SUPPORT )
|
||||
HB_XFREE( pSelf->value.asSymbol );
|
||||
#endif
|
||||
break;
|
||||
}
|
||||
return pSelf;
|
||||
@@ -859,6 +863,10 @@ static HB_EXPR_FUNC( hb_compExprUseFunRef )
|
||||
case HB_EA_STATEMENT:
|
||||
hb_compWarnMeaningless( pSelf );
|
||||
case HB_EA_DELETE:
|
||||
/* NOTE: function name should be released if macro compilation */
|
||||
#if defined( HB_MACRO_SUPPORT )
|
||||
HB_XFREE( pSelf->value.asSymbol );
|
||||
#endif
|
||||
break;
|
||||
}
|
||||
return pSelf;
|
||||
|
||||
@@ -5,6 +5,6 @@
|
||||
/* hbexprb.c is also included from ../macro/macro.c
|
||||
* However it produces a slighty different code if used in
|
||||
* macro compiler (there is an additional parameter passed to some functions)
|
||||
* 1.14 - ignore this magic number - this is used to force compilation
|
||||
* 1.15 - ignore this magic number - this is used to force compilation
|
||||
*/
|
||||
#include "hbexprb.c"
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
/* hbexprb.c is also included from ../compiler/exproptb.c
|
||||
* However it produces a slighty different code if used in
|
||||
* macro compiler (there is an additional parameter passed to some functions)
|
||||
* 1.13 - ignore this magic number - this is used to force compilation
|
||||
* 1.14 - ignore this magic number - this is used to force compilation
|
||||
*/
|
||||
|
||||
#define HB_MACRO_SUPPORT
|
||||
|
||||
@@ -844,7 +844,7 @@ BOOL HB_EXPORT hb_fsSetDevMode( FHANDLE hFileHandle, USHORT uiDevMode )
|
||||
|
||||
HB_SYMBOL_UNUSED( hFileHandle );
|
||||
|
||||
if uiDevMode == FD_TEXT )
|
||||
if( uiDevMode == FD_TEXT )
|
||||
{
|
||||
hb_fsSetError( ( USHORT ) FS_ERROR );
|
||||
return FALSE;
|
||||
|
||||
Reference in New Issue
Block a user