From bf35e61a95d39aaed0cafabea664ed0262aa7b5b Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Thu, 10 Feb 2011 22:56:45 +0000 Subject: [PATCH] 2011-02-10 23:55 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * utils/hbmk2/hbmk2.prg % PathMakeAbsolute() converted to macro. --- harbour/ChangeLog | 6 +++++- harbour/utils/hbmk2/hbmk2.prg | 5 ++--- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 00e2bfaa3e..ae5223b680 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -16,10 +16,14 @@ The license applies to all entries newer than 2009-04-28. */ +2011-02-10 23:55 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) + * utils/hbmk2/hbmk2.prg + % PathMakeAbsolute() converted to macro. + 2011-02-10 23:45 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * utils/hbmk2/hbmk2.prg * Changed to use core filename functions. - (except hb_PathMakeAbsolute() to hb_PathJoin()) + (except PathMakeAbsolute() to hb_PathJoin()) * contrib/hbqt/hbmk2_qt.hbs * Changed hbmk2_*() API calls to Harbour core functions. diff --git a/harbour/utils/hbmk2/hbmk2.prg b/harbour/utils/hbmk2/hbmk2.prg index d4cd863fb4..e471604371 100644 --- a/harbour/utils/hbmk2/hbmk2.prg +++ b/harbour/utils/hbmk2/hbmk2.prg @@ -497,6 +497,8 @@ REQUEST hbmk_KEYW #define HBMK_ISPLAT( list ) HBMK_IS_IN( hbmk[ _HBMK_cPLAT ], list ) #define HBMK_ISCOMP( list ) HBMK_IS_IN( hbmk[ _HBMK_cCOMP ], list ) +#define PathMakeAbsolute( cPathR, cPathA ) hb_PathJoin( cPathA, cPathR ) + /* Request some functions for plugins */ REQUEST HBCLASS REQUEST __CLSLOCKDEF @@ -8538,9 +8540,6 @@ STATIC FUNCTION ListToArray( cList, cSep ) RETURN array -STATIC FUNCTION PathMakeAbsolute( cPathR, cPathA ) - RETURN hb_PathJoin( cPathA, cPathR ) - STATIC FUNCTION PathSepCount( cPath ) LOCAL nCount := 0 LOCAL c