2010-01-25 12:35 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbwin/win_misc.c
! fixed buffer overflow in WIN_WIDETOANSI() caused by wrongly calculated
buffer size
* harbour/utils/hbmk2/hbmk2.prg
* updated names of xHarbour libraries - now it works in static mode
TOFIX: -xhb shared mode uses 'harbour' instead of 'xharbour' library
and 'hbmainstd' instead of 'mainstd'
TOFIX2: -gui switch in -xhb mode cause compile time error:
/tmp/hbmk_auhl2d.c:8: error: syntax error before "void"
This commit is contained in:
@@ -17,6 +17,18 @@
|
||||
past entries belonging to author(s): Viktor Szakats.
|
||||
*/
|
||||
|
||||
2010-01-25 12:35 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
|
||||
* harbour/contrib/hbwin/win_misc.c
|
||||
! fixed buffer overflow in WIN_WIDETOANSI() caused by wrongly calculated
|
||||
buffer size
|
||||
|
||||
* harbour/utils/hbmk2/hbmk2.prg
|
||||
* updated names of xHarbour libraries - now it works in static mode
|
||||
TOFIX: -xhb shared mode uses 'harbour' instead of 'xharbour' library
|
||||
and 'hbmainstd' instead of 'mainstd'
|
||||
TOFIX2: -gui switch in -xhb mode cause compile time error:
|
||||
/tmp/hbmk_auhl2d.c:8: error: syntax error before "void"
|
||||
|
||||
2010-01-24 22:28 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
|
||||
* contrib/hbxbp/Makefile
|
||||
* contrib/hbxbp/hbpprocess.prg
|
||||
|
||||
@@ -199,7 +199,7 @@ HB_FUNC( WIN_WIDETOANSI )
|
||||
{
|
||||
HB_SIZE nLen = hb_parclen( 1 );
|
||||
LPCWSTR lpSrcWide = ( LPCWSTR ) hb_parcx( 1 );
|
||||
DWORD dwLength = WideCharToMultiByte( CP_ACP, 0, lpSrcWide, ( int ) nLen, NULL, 0, NULL, NULL ) / sizeof( wchar_t );
|
||||
DWORD dwLength = WideCharToMultiByte( CP_ACP, 0, lpSrcWide, ( int ) nLen, NULL, 0, NULL, NULL );
|
||||
LPSTR lpDstMB = ( LPSTR ) hb_xgrab( dwLength + 1 );
|
||||
|
||||
WideCharToMultiByte( CP_ACP, 0, lpSrcWide, ( int ) nLen, lpDstMB, dwLength + 1, NULL, NULL );
|
||||
|
||||
@@ -955,11 +955,11 @@ FUNCTION hbmk( aArgs, /* @ */ lPause )
|
||||
aLIB_BASE_2_MT := { "rtlmt", "vmmt" }
|
||||
aLIB_BASE_GT := { "gtcgi", "gtpca", "gtstd" }
|
||||
aLIB_BASE_NULRDD := { "nulsys" }
|
||||
aLIB_BASE_RDD := { "rdd" , "usrrdd" , "rdds" , "dbfntx" , "dbfcdx" , "dbffpt" , "rdd" , "hsx" , "hbsix" }
|
||||
aLIB_BASE_RDD_MT := { "rddmt", "usrrddmt", "rddsmt", "dbfntxmt", "dbfcdxmt", "dbffptmt", "rddmt", "hsxmt", "hbsixmt" }
|
||||
aLIB_BASE_RDD := { "rdd" , "usrrdd", "dbfntx", "dbfcdx", "dbfnsx", "dbffpt", "rdd" , "hsx", "hbsix" }
|
||||
aLIB_BASE_RDD_MT := { "rddmt", "usrrdd", "dbfntx", "dbfcdx", "dbfnsx", "dbffpt", "rddmt", "hsx", "hbsix" }
|
||||
aLIB_BASE_CPLR := {}
|
||||
aLIB_BASE_3 := { "macro" , "pp" , "common" }
|
||||
aLIB_BASE_3_MT := { "macromt", "ppmt", "common" }
|
||||
aLIB_BASE_3 := { "macro" , "pp", "common" }
|
||||
aLIB_BASE_3_MT := { "macromt", "pp", "common" }
|
||||
cLIB_BASE_PCRE := "pcrepos"
|
||||
cLIB_BASE_ZLIB := "zlib"
|
||||
ENDIF
|
||||
|
||||
Reference in New Issue
Block a user