From 0e1377fd0131ab88cfa3898e310c6879a694632b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Przemys=C5=82aw=20Czerpak?= Date: Wed, 26 Feb 2014 23:56:05 +0100 Subject: [PATCH] 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() --- ChangeLog.txt | 5 +++++ src/rtl/filebuf.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog.txt b/ChangeLog.txt index edcc7d4fca..f00aaccb44 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt @@ -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 diff --git a/src/rtl/filebuf.c b/src/rtl/filebuf.c index b58b4d8ea4..0e2790e77e 100644 --- a/src/rtl/filebuf.c +++ b/src/rtl/filebuf.c @@ -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,