2009-08-27 21:41 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)

* harbour/source/rtl/filebuf.c
    ! added missing static in declaration

  * harbour/source/rdd/dbffpt/dbffpt1.c
    ! fixed default memo extension in non workarea methods
This commit is contained in:
Przemyslaw Czerpak
2009-08-27 19:41:22 +00:00
parent 3505bc2e51
commit dec2109f1b
3 changed files with 26 additions and 19 deletions

View File

@@ -17,6 +17,13 @@
past entries belonging to author(s): Viktor Szakats.
*/
2009-08-27 21:41 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/rtl/filebuf.c
! added missing static in declaration
* harbour/source/rdd/dbffpt/dbffpt1.c
! fixed default memo extension in non workarea methods
2009-08-27 21:20 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* external/libhpdf/Makefile
! Fixed typo in recent rework, causing embedded libpng

View File

@@ -5035,8 +5035,8 @@ static HB_ERRCODE hb_fptRddInfo( LPRDDNODE pRDD, USHORT uiIndex, ULONG ulConnect
( szExt = hb_setGetMFileExt() ) != NULL && *szExt )
hb_itemPutC( pItem, szExt );
else
hb_itemPutC( pItem, hb_memoDefaultFileExt( pData->bMemoType, pRDD->rddID ) );
hb_itemPutC( pItem, hb_memoDefaultFileExt( pData->bMemoType ?
pData->bMemoType : DB_MEMO_FPT, pRDD->rddID ) );
if( szNewVal )
{
hb_strncpy( pData->szMemoExt, szNewVal, sizeof( pData->szMemoExt ) - 1 );

View File

@@ -542,25 +542,25 @@ static HB_FHANDLE s_fileHandle( PHB_FILE pFile )
return pFile ? pFile->hFile : FS_ERROR;
}
/* methods table */
const HB_FILE_FUNCS s_fileFuncs =
{
s_fileAccept,
hb_spFileExists,
hb_fsDelete,
s_fileExtOpen,
s_fileClose,
s_fileLock,
s_fileReadAt,
s_fileWriteAt,
s_fileTruncAt,
s_fileSize,
s_fileCommit,
s_fileHandle
};
static const HB_FILE_FUNCS * s_fileMethods( void )
{
/* methods table */
static const HB_FILE_FUNCS s_fileFuncs =
{
s_fileAccept,
hb_spFileExists,
hb_fsDelete,
s_fileExtOpen,
s_fileClose,
s_fileLock,
s_fileReadAt,
s_fileWriteAt,
s_fileTruncAt,
s_fileSize,
s_fileCommit,
s_fileHandle
};
return &s_fileFuncs;
}