2003-12-13 17:05 UTC+0100 Ryszard Glab <rglab@imid.med.pl>
* source/vm/codebloc.c
* fixed initialization of detached variables
This commit is contained in:
@@ -8,6 +8,11 @@
|
||||
2002-12-01 23:12 UTC+0100 Foo Bar <foo.bar@foobar.org>
|
||||
*/
|
||||
|
||||
2003-12-13 17:05 UTC+0100 Ryszard Glab <rglab@imid.med.pl>
|
||||
* source/vm/codebloc.c
|
||||
* fixed initialization of detached variables
|
||||
|
||||
|
||||
2003-12-12 11:45 UTC-0800 Luis Krause Mantilla <lkrausem /*at*/ shaw /*dot*/ ca>
|
||||
* source/rdd/dbcmd.c
|
||||
! Fixed dbSelectArea() bug reported by Giovi Verrua
|
||||
|
||||
@@ -110,11 +110,6 @@ HB_CODEBLOCK_PTR hb_codeblockNew( BYTE * pBuffer,
|
||||
*/
|
||||
pLocal = hb_stackItemFromBase( *pLocalPosTable++ );
|
||||
|
||||
if( HB_IS_BYREF( pLocal ) )
|
||||
{
|
||||
pLocal = hb_itemUnRef( pLocal );
|
||||
}
|
||||
|
||||
if( ! HB_IS_MEMVAR( pLocal ) )
|
||||
{
|
||||
/* Change the value only if this variable is not referenced
|
||||
@@ -123,6 +118,11 @@ HB_CODEBLOCK_PTR hb_codeblockNew( BYTE * pBuffer,
|
||||
* pool so it can be shared by codeblocks
|
||||
*/
|
||||
|
||||
if( HB_IS_BYREF( pLocal ) )
|
||||
{
|
||||
pLocal = hb_itemUnRef( pLocal );
|
||||
}
|
||||
|
||||
hMemvar = hb_memvarValueNew( pLocal, FALSE );
|
||||
|
||||
pLocal->type = HB_IT_BYREF | HB_IT_MEMVAR;
|
||||
|
||||
Reference in New Issue
Block a user