2016-02-01 14:55 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)

* src/rdd/sdf1.c
    ! fixed EOL decoding in DOS, OS2 and MS-Windows builds
This commit is contained in:
Przemysław Czerpak
2016-02-01 14:55:51 +01:00
parent d668f50eeb
commit 6cfeaa7407
2 changed files with 6 additions and 2 deletions

View File

@@ -10,6 +10,10 @@
* Change, ! Fix, % Optimization, + Addition, - Removal, ; Comment
*/
2016-02-01 14:55 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* src/rdd/sdf1.c
! fixed EOL decoding in DOS, OS2 and MS-Windows builds
2016-01-29 00:33 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* src/rtl/hbsocket.c
! pacified 64bit MSC warnings

View File

@@ -120,8 +120,8 @@ static HB_ERRCODE hb_sdfReadRecord( SDFAREAP pArea )
if( pArea->nBufferRead - pArea->nBufferIndex < ( HB_SIZE ) pArea->uiEolLen + 1 &&
pArea->nBufferRead == pArea->nBufferSize )
{
HB_SIZE nLeft = nRead >= ( HB_SIZE ) pArea->uiRecordLen ? 0 :
pArea->nBufferRead - pArea->nBufferIndex;
HB_SIZE nLeft = pArea->nBufferRead - pArea->nBufferIndex;
if( nLeft )
memmove( pArea->pBuffer,
pArea->pBuffer + pArea->nBufferIndex, nLeft );