2008-09-08 21:37 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/vm/hashes.c
! fixed typo in hash cloning code which caused that references
was copied to cloned array. Thanks to Mindaugas for example.
This commit is contained in:
@@ -8,6 +8,11 @@
|
||||
2008-12-31 13:59 UTC+0100 Foo Bar (foo.bar foobar.org)
|
||||
*/
|
||||
|
||||
2008-09-08 21:37 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
|
||||
* harbour/source/vm/hashes.c
|
||||
! fixed typo in hash cloning code which caused that references
|
||||
was copied to cloned array. Thanks to Mindaugas for example.
|
||||
|
||||
2008-09-08 13:59 UTC-0500 Teo Fonrouge (teo/at/windtelsoft/dot/com)
|
||||
* include/hbclass.ch
|
||||
! added missing MESSAGE <MessageName> TO <oObject>
|
||||
|
||||
@@ -651,7 +651,7 @@ void hb_hashCloneBody( PHB_ITEM pHash, PHB_ITEM pDest, PHB_NESTED_CLONED pCloned
|
||||
{
|
||||
PHB_ITEM pValue = &pHash->item.asHash.value->pPairs[ ulPos ].value;
|
||||
if( HB_IS_BYREF( pValue ) )
|
||||
hb_itemUnRef( pValue );
|
||||
pValue = hb_itemUnRef( pValue );
|
||||
hb_itemCopy( &pDest->item.asHash.value->pPairs[ ulPos ].key,
|
||||
&pHash->item.asHash.value->pPairs[ ulPos ].key );
|
||||
pDest->item.asHash.value->ulLen++;
|
||||
|
||||
Reference in New Issue
Block a user