See ChangeLog entry 2002-05-24 20:30 UTC-0400 David G. Holm <dholm@jsd-llc.com>

This commit is contained in:
David G. Holm
2002-05-25 00:36:53 +00:00
parent 9fa9906179
commit d39666bc6d
5 changed files with 17 additions and 6 deletions

View File

@@ -8,6 +8,12 @@
2002-12-01 23:12 UTC+0100 Foo Bar <foo.bar@foobar.org>
*/
2002-05-24 20:30 UTC-0400 David G. Holm <dholm@jsd-llc.com>
* source/rdd/dbf1.c
* contrib/libnf/dispc.c
* contrib/libnf/idle.c
! Fixed some problems that caused C++ compiles to fail.
2002-05-24 16:15 UTC-0300 Walter Negro <anegro@overnet.com.ar>
* source/rtl/tgetlist.prg
! Corrected minor bug in using Len() on oGet:Buffer,

View File

@@ -13,6 +13,9 @@
* Modification history:
* ---------------------
*
* Rev 1.8 24 May 2002 19:25:00 David G. Holm <dholm@jsd-llc.com>
* Fixed some problems that caused C++ compiles to fail.
*
* Rev 1.7 29 Mar 2002 17:00:00 Walter Negro <anegro@overnet.com.ar>
* Ported to Harbour
*
@@ -560,8 +563,8 @@ HB_FUNC( _FT_DFINIT )
maxlin = hb_parni(12);
buffsize = hb_parni(13); /* yes - load value */
buffer = hb_xalloc(buffsize); /* allocate memory */
lbuff = hb_xalloc(maxlin + 1); /* for buffers */
buffer = (char *) hb_xalloc(buffsize); /* allocate memory */
lbuff = (char *) hb_xalloc(maxlin + 1); /* for buffers */
isallocated = !(buffer == NULL || lbuff == NULL || vseg == NULL);
@@ -907,7 +910,7 @@ static int keyin()
ch = 0;
while ( ch == 0x00 ) /* check to see if it's extended */
{
ch = hb_inkeyTranslate( hb_gtReadKey( 0 ), 0);
ch = hb_inkeyTranslate( hb_gtReadKey( ( HB_inkey_enum ) 0 ), ( HB_inkey_enum ) 0);
if (ch == 257) /* error compiling with bcc55 */
ch = 27; /* ESC with CapsLock ON = 257, with CapsLock OFF = 27 */
hb_idleState();

View File

@@ -14,6 +14,8 @@
*
*/
#include "hbdefs.h"
#include "hbapi.h"
/* $DOC$
* $FUNCNAME$

View File

@@ -1588,7 +1588,7 @@ ERRCODE hb_dbfCreate( DBFAREAP pArea, LPDBOPENINFO pCreateInfo )
/* Create memo file */
if( bHasMemo )
{
unsigned char *tmp;
BYTE *tmp;
ERRCODE result;
pArea->szMemoFileName = ( char * ) hb_xgrab( _POSIX_PATH_MAX + 1 );
pFileName = hb_fsFNameSplit( ( char * ) pCreateInfo->abName );

View File

@@ -1185,7 +1185,7 @@ static void hb_ntxPageSave( LPTAGINFO pTag, LPPAGEINFO pPage )
{
( ( LPNTXBUFFER ) pPage->buffer )->item_count = pPage->uiKeys;
hb_fsSeek( pTag->Owner->DiskFile, pPage->Page, FS_SET );
hb_fsWrite( pTag->Owner->DiskFile, (unsigned char *) pPage->buffer, NTXBLOCKSIZE );
hb_fsWrite( pTag->Owner->DiskFile, (BYTE *) pPage->buffer, NTXBLOCKSIZE );
pPage->Changed = FALSE;
}
@@ -1250,7 +1250,7 @@ static LPPAGEINFO hb_ntxPageLoad( LPTAGINFO pTag, ULONG ulOffset )
pPage->Page = ulOffset;
hb_fsSeek( pTag->Owner->DiskFile, ulOffset, FS_SET );
if( hb_fsRead( pTag->Owner->DiskFile, (unsigned char *) pPage->buffer, NTXBLOCKSIZE )
if( hb_fsRead( pTag->Owner->DiskFile, (BYTE *) pPage->buffer, NTXBLOCKSIZE )
!= NTXBLOCKSIZE )
return NULL;