From e7f1d55645c8a327a88be59bce4ea38e927b0ef2 Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Tue, 12 Jul 2011 19:13:50 +0000 Subject: [PATCH] 2011-07-12 21:11 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * utils/hbmk2/hbmk2.prg * config/postinst.hbs ! fixed wrongly placed @cStdErr parameter in hb_processRun() calls. it didn't cause any error as the param is empty and return value currently unused. --- harbour/ChangeLog | 7 +++++++ harbour/config/postinst.hbs | 2 +- harbour/utils/hbmk2/hbmk2.prg | 2 +- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 8f3d31b23a..33efbc9404 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -16,6 +16,13 @@ The license applies to all entries newer than 2009-04-28. */ +2011-07-12 21:11 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) + * utils/hbmk2/hbmk2.prg + * config/postinst.hbs + ! fixed wrongly placed @cStdErr parameter in hb_processRun() + calls. it didn't cause any error as the param is empty and + return value currently unused. + 2011-07-12 16:06 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbssl/ssl.c * previous patch modified along with Przemek's suggestion diff --git a/harbour/config/postinst.hbs b/harbour/config/postinst.hbs index 4d999c15ec..5f000fd528 100644 --- a/harbour/config/postinst.hbs +++ b/harbour/config/postinst.hbs @@ -545,7 +545,7 @@ STATIC FUNCTION __hb_extern_get_list( cInputName ) FClose( hb_FTempCreateEx( @cTempFile,,, ".tmp" ) ) cCommand := StrTran( cCommand, "{T}", cTempFile ) ENDIF - IF hb_processRun( cCommand, @cStdErr, @cStdOut ) == 0 + IF hb_processRun( cCommand,, @cStdOut, @cStdErr ) == 0 IF ! Empty( cTempFile ) cStdOut := MemoRead( cTempFile ) ENDIF diff --git a/harbour/utils/hbmk2/hbmk2.prg b/harbour/utils/hbmk2/hbmk2.prg index aeeb9b0277..61f0ca7e59 100644 --- a/harbour/utils/hbmk2/hbmk2.prg +++ b/harbour/utils/hbmk2/hbmk2.prg @@ -11412,7 +11412,7 @@ STATIC FUNCTION __hb_extern_get_list( hbmk, cInputName, cBin_LibHBX, cOpt_LibHBX cOpt_LibHBX := StrTran( cOpt_LibHBX, "{OT}", FNameEscape( cTempFile, hbmk[ _HBMK_nCmd_Esc ], hbmk[ _HBMK_nCmd_FNF ] ) ) ENDIF - IF hb_processRun( cBin_LibHBX + " " + cOpt_LibHBX, @cStdErr, @cStdOut ) == 0 + IF hb_processRun( cBin_LibHBX + " " + cOpt_LibHBX,, @cStdOut, @cStdErr ) == 0 IF ! Empty( cTempFile ) cStdOut := MemoRead( cTempFile ) ENDIF