From 57ea03f80a61c125f6d9f2efa04bfc18670486bb Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Mon, 22 Jun 2009 22:37:47 +0000 Subject: [PATCH] 2009-06-23 00:36 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * utils/hbmk2/hbmk2.prg ! Deleted first empty string parameter passed to HB_COMPILE() function. AFAIR it seems it was needed so far (or was ignored, but I've put it there for some reason), but after recent fix, it's interpreted as empty filename, which seems logical. --- harbour/ChangeLog | 7 +++++++ harbour/utils/hbmk2/hbmk2.prg | 4 ++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/harbour/ChangeLog b/harbour/ChangeLog index ca73ec6f3e..4a90ac95a6 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -17,6 +17,13 @@ past entries belonging to author(s): Viktor Szakats. */ +2009-06-23 00:36 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) + * utils/hbmk2/hbmk2.prg + ! Deleted first empty string parameter passed to HB_COMPILE() + function. AFAIR it seems it was needed so far (or was ignored, + but I've put it there for some reason), but after recent fix, + it's interpreted as empty filename, which seems logical. + 2009-06-23 00:08 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * external/sqlite3/sqlite3.c * external/sqlite3/sqlite3.h diff --git a/harbour/utils/hbmk2/hbmk2.prg b/harbour/utils/hbmk2/hbmk2.prg index 6e06569ddc..476b4a3114 100644 --- a/harbour/utils/hbmk2/hbmk2.prg +++ b/harbour/utils/hbmk2/hbmk2.prg @@ -3121,9 +3121,9 @@ FUNCTION hbmk( aArgs, /* @ */ lPause, /* @ */ lUTF8 ) IF ! hbmk[ _HBMK_lDONTEXEC ] IF hb_mtvm() - AAdd( aThreads, { hb_threadStart( @hb_compile(), "", aCommand ), aCommand } ) + AAdd( aThreads, { hb_threadStart( @hb_compile(), aCommand ), aCommand } ) ELSE - IF ( tmp := hb_compile( "", aCommand ) ) != 0 + IF ( tmp := hb_compile( aCommand ) ) != 0 hbmk_OutErr( hbmk, hb_StrFormat( I_( "Error: Running Harbour compiler. %1$s" ), hb_ntos( tmp ) ) ) IF ! hbmk[ _HBMK_lQuiet ] OutErr( FN_Escape( DirAddPathSep( PathSepToSelf( l_cHB_BIN_INSTALL ) ) + cBin_CompPRG + cBinExt, nOpt_Esc ) +;