From 662fedaaf2e4e71b63cd1197bf4fcd2c029aad9b Mon Sep 17 00:00:00 2001 From: Przemyslaw Czerpak Date: Sun, 29 Mar 2009 17:51:15 +0000 Subject: [PATCH] 2009-03-29 19:57 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/vm/fm.c ! fixed typo and add missing HVM stack preload macros --- harbour/ChangeLog | 4 ++++ harbour/source/vm/fm.c | 4 +++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 2d26c8538f..d5051b5e1e 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -8,6 +8,10 @@ 2009-12-31 13:59 UTC+0100 Foo Bar (foo.bar foobar.org) */ +2009-03-29 19:57 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) + * harbour/source/vm/fm.c + ! fixed typo and add missing HVM stack preload macros + 2009-03-29 19:20 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/include/hbapi.h * harbour/include/hbstack.h diff --git a/harbour/source/vm/fm.c b/harbour/source/vm/fm.c index cf137cfdc9..fd65360fdc 100644 --- a/harbour/source/vm/fm.c +++ b/harbour/source/vm/fm.c @@ -333,7 +333,7 @@ typedef void * PHB_MEMINFO; typedef struct { int count; - mspace * ms; + mspace ms; } HB_MSPACE, * PHB_MSPACE; static mspace s_gm = NULL; @@ -424,6 +424,7 @@ void hb_xinit_thread( void ) void hb_xexit_thread( void ) { #if defined( HB_FM_DLMT_ALLOC ) + HB_STACK_TLS_PRELOAD if( hb_stack.allocator != NULL ) { HB_FM_LOCK @@ -1070,6 +1071,7 @@ void hb_xexit( void ) /* Deinitialize fixed memory subsystem */ ULONG hb_xquery( USHORT uiMode ) { + HB_STACK_TLS_PRELOAD ULONG ulResult; HB_TRACE(HB_TR_DEBUG, ("hb_xquery(%hu)", uiMode));