Andi Jahja <harbour@cbn.net.id>
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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 );
|
||||
|
||||
Reference in New Issue
Block a user