2011-04-13 21:13 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)

* utils/hbmk2/hbmk2.prg
    ! fixed RTE when using invalid GT name from cmdline ('hbmk2 test -gt.')
This commit is contained in:
Viktor Szakats
2011-04-13 19:13:52 +00:00
parent 52686b5bd9
commit c45c3e42a0
2 changed files with 6 additions and 2 deletions

View File

@@ -16,6 +16,10 @@
The license applies to all entries newer than 2009-04-28.
*/
2011-04-13 21:13 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
! fixed RTE when using invalid GT name from cmdline ('hbmk2 test -gt.')
2011-04-13 11:45 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbxbp/xbpparthandler.prg
! Changed: ::aOwned to ::_aOwned to suggest that this is internal.
@@ -98,7 +102,7 @@
2011-04-13 04:56 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* src/rtl/fstemp.c
! hb_fsTempDir(): due to misplaced else branche it returned
! hb_fsTempDir(): due to misplaced else branch it returned
'./' on *nix systems when temp dir ended with pathsep,
for the same reason it return empty string instead of './'
if temp dir could not be determined.

View File

@@ -2354,7 +2354,7 @@ FUNCTION hbmk2( aArgs, nArgTarget, /* @ */ lPause, nLevel )
cParam := NIL
ENDIF
ENDIF
IF !( Lower( cParam ) == "gtnul" )
IF ! Empty( cParam ) .AND. !( Lower( cParam ) == "gtnul" )
IF AScan( hbmk[ _HBMK_aLIBCOREGT ], {| tmp | Lower( tmp ) == Lower( cParam ) } ) == 0 .AND. ;
AScan( hbmk[ _HBMK_aLIBUSERGT ], {| tmp | Lower( tmp ) == Lower( cParam ) } ) == 0
AAddNotEmpty( hbmk[ _HBMK_aLIBUSERGT ], PathSepToSelf( cParam ) )