2014-02-26 23:56 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)

* src/rtl/filebuf.c
    ! use hb_fsReadLarge()/hb_fsWriteLarge() instead of
      hb_fsRead()/hb_fsWrite() for hb_fileRead()/hb_fileWrite()
This commit is contained in:
Przemysław Czerpak
2014-02-26 23:56:05 +01:00
parent 6374c20735
commit 0e1377fd01
2 changed files with 7 additions and 2 deletions

View File

@@ -10,6 +10,11 @@
* Change, ! Fix, % Optimization, + Addition, - Removal, ; Comment
*/
2014-02-26 23:56 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* src/rtl/filebuf.c
! use hb_fsReadLarge()/hb_fsWriteLarge() instead of
hb_fsRead()/hb_fsWrite() for hb_fileRead()/hb_fileWrite()
2014-02-26 13:21 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* ChangeLog.txt
* include/harbour.hbx

View File

@@ -597,14 +597,14 @@ static HB_SIZE s_fileRead( PHB_FILE pFile, void * buffer, HB_SIZE nSize,
HB_MAXINT nTimeout )
{
HB_SYMBOL_UNUSED( nTimeout );
return hb_fsRead( pFile->hFile, buffer, nSize );
return hb_fsReadLarge( pFile->hFile, buffer, nSize );
}
static HB_SIZE s_fileWrite( PHB_FILE pFile, const void * buffer, HB_SIZE nSize,
HB_MAXINT nTimeout )
{
HB_SYMBOL_UNUSED( nTimeout );
return hb_fsWrite( pFile->hFile, buffer, nSize );
return hb_fsWriteLarge( pFile->hFile, buffer, nSize );
}
static HB_SIZE s_fileReadAt( PHB_FILE pFile, void * buffer, HB_SIZE nSize,