From 201b483c9fd96e8b4b00575bd8034b584af12f1c Mon Sep 17 00:00:00 2001 From: Andi Jahja Date: Thu, 3 Jan 2002 09:54:56 +0000 Subject: [PATCH] Andi Jahja --- harbour/ChangeLog | 8 ++++++++ harbour/source/vm/fm.c | 12 ++---------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/harbour/ChangeLog b/harbour/ChangeLog index cbe8227df2..04861103a3 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -7,6 +7,14 @@ For example: 2002-12-01 23:12 UTC+0100 Foo Bar */ + * source/rtl/filesys.c + - Removed two wrapper functions to hb_fsSetDevMode + which were there to maintain supposed compatibility + with _tdevraw, but that turned to be unneeded. + + * include/hbundoc.api + ! Fixed _tdevraw + * source/rtl/filesys.c ! Re-disabled native Win32 file handling system. ! hb_fsCommit() fixed Win32 branch, and put it diff --git a/harbour/source/vm/fm.c b/harbour/source/vm/fm.c index 2a9693a672..ab26d0dfa6 100644 --- a/harbour/source/vm/fm.c +++ b/harbour/source/vm/fm.c @@ -185,12 +185,7 @@ void HB_EXPORT * hb_xalloc( ULONG ulSize ) /* allocates fixed memory, re HB_TRACE(HB_TR_DEBUG, ("hb_xalloc(%lu)", ulSize)); - #define ALIGN_SIZE sizeof (double) - #define RESERVE_SIZE (((sizeof (ulSize) + (ALIGN_SIZE - 1)) \ - / ALIGN_SIZE) * ALIGN_SIZE) - return malloc( ulSize + RESERVE_SIZE ); - -/* return malloc( ulSize ); */ + return malloc( ulSize ); #endif } @@ -267,10 +262,7 @@ void HB_EXPORT * hb_xgrab( ULONG ulSize ) /* allocates fixed memory, exi #else - #define ALIGN_SIZE sizeof (double) - #define RESERVE_SIZE (((sizeof (ulSize) + (ALIGN_SIZE - 1)) \ - / ALIGN_SIZE) * ALIGN_SIZE) - pMem = malloc( ulSize + RESERVE_SIZE ); + pMem = malloc( ulSize ); if( ! pMem ) hb_errInternal( HB_EI_XGRABALLOC, NULL, NULL, NULL );