2014-03-04 18:15 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* src/debug/debugger.prg
* minor cleanup
* src/rtl/copyfile.c
! fixed RTE after recent modification (#55)
This commit is contained in:
@@ -10,6 +10,13 @@
|
||||
* Change, ! Fix, % Optimization, + Addition, - Removal, ; Comment
|
||||
*/
|
||||
|
||||
2014-03-04 18:15 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
|
||||
* src/debug/debugger.prg
|
||||
* minor cleanup
|
||||
|
||||
* src/rtl/copyfile.c
|
||||
! fixed RTE after recent modification (#55)
|
||||
|
||||
2014-03-04 04:30 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
|
||||
* src/compiler/gencc.c
|
||||
! pacified CLANG warning in -gc3 output (issue: #53)
|
||||
|
||||
@@ -804,7 +804,8 @@ METHOD CommandWindowDisplay( cLine, lCmd ) CLASS HBDebugger
|
||||
n := Len( ::aHistCommands )
|
||||
nRow := ::oWndCommand:nBottom
|
||||
nSize := ::oWndCommand:nRight - ::oWndCommand:nLeft - 1
|
||||
hb_DispOutAt( --nRow, ::oWndCommand:nLeft + 1, "> ", __dbgColors()[ 2 ] )
|
||||
hb_DispOutAt( --nRow, ::oWndCommand:nLeft + 1, PadR( "> ", nSize ), ;
|
||||
__dbgColors()[ 2 ] )
|
||||
DO WHILE --nRow > ::oWndCommand:nTop
|
||||
hb_DispOutAt( nRow, ::oWndCommand:nLeft + 1, ;
|
||||
PadR( iif( n > 0, ::aHistCommands[ n-- ], "" ), nSize ), ;
|
||||
|
||||
@@ -119,11 +119,14 @@ static HB_BOOL hb_copyfile( const char * pszSource, const char * pszDest )
|
||||
while( nWritten < nRead )
|
||||
{
|
||||
nWritten += hb_fileWrite( pDest, buffer + nWritten, nRead - nWritten, -1 );
|
||||
pError = hb_errRT_FileError( pError, NULL, EG_WRITE, 2016, pszDest );
|
||||
if( hb_errLaunch( pError ) != E_RETRY )
|
||||
if( nWritten < nRead )
|
||||
{
|
||||
bRetVal = HB_FALSE;
|
||||
break;
|
||||
pError = hb_errRT_FileError( pError, NULL, EG_WRITE, 2016, pszDest );
|
||||
if( hb_errLaunch( pError ) != E_RETRY )
|
||||
{
|
||||
bRetVal = HB_FALSE;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user