This commit is contained in:
Andi Jahja
2002-01-03 09:54:56 +00:00
parent 5d24955ebc
commit 201b483c9f
2 changed files with 10 additions and 10 deletions

View File

@@ -7,6 +7,14 @@
For example:
2002-12-01 23:12 UTC+0100 Foo Bar <foo.bar@foobar.org>
*/
* 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

View File

@@ -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 );