2010-01-06 23:53 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)

* contrib/hbwin/win_err.c
    ! Fixed GetLastError() in MT mode.

  * utils/hbmk2/hbmk2.prg
    % nSize++ -> nSize = 1

  * contrib/hbide/hbide.hbp
    ! Typo in comment.
This commit is contained in:
Viktor Szakats
2010-01-06 22:54:39 +00:00
parent 24bc432079
commit 2cc8ef44d5
4 changed files with 15 additions and 4 deletions

View File

@@ -17,6 +17,16 @@
past entries belonging to author(s): Viktor Szakats.
*/
2010-01-06 23:53 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbwin/win_err.c
! Fixed GetLastError() in MT mode.
* utils/hbmk2/hbmk2.prg
% nSize++ -> nSize = 1
* contrib/hbide/hbide.hbp
! Typo in comment.
2010-01-06 22:26 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
! Fixed instructions for .deb binary build.

View File

@@ -10,7 +10,7 @@
-ohbide
# Trick to make QT 4.6 link using default Harbour builds
# Trick to make QT 4.6 link using default Harbour build
-ldflag={msvc}-nodefaultlib:msvcrt.lib
-ldflag={msvc}-defaultlib:libcmt.lib

View File

@@ -64,9 +64,10 @@ static HB_TSD_NEW( s_winerrData, sizeof( HB_WINERRDATA ), NULL, NULL );
void hbwin_SetLastError( void )
{
DWORD dwLastError = GetLastError();
PHB_WINERRDATA pWinErrData = ( PHB_WINERRDATA ) hb_stackGetTSD( &s_winerrData );
pWinErrData->dwLastError = GetLastError();
pWinErrData->dwLastError = dwLastError;
}
DWORD hbwin_GetLastError( void )

View File

@@ -3883,14 +3883,14 @@ FUNCTION hbmk( aArgs, /* @ */ lPause )
'void * operator new[]( size_t nSize )' + Chr( 10 ) +;
'{' + Chr( 10 ) +;
' if( nSize == 0 )' + Chr( 10 ) +;
' nSize++;' + Chr( 10 ) +;
' nSize = 1;' + Chr( 10 ) +;
' return hb_xgrab( nSize );' + Chr( 10 ) +;
'}' + Chr( 10 ) +;
'' + Chr( 10 ) +;
'void * operator new( size_t nSize )' + Chr( 10 ) +;
'{' + Chr( 10 ) +;
' if( nSize == 0 )' + Chr( 10 ) +;
' nSize++;' + Chr( 10 ) +;
' nSize = 1;' + Chr( 10 ) +;
' return hb_xgrab( nSize );' + Chr( 10 ) +;
'}' + Chr( 10 ) +;
'' + Chr( 10 ) +;