2011-01-31 13:00 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)

* harbour/utils/hbmk2/hbmk2.prg
    ! small fix in FN_FromArray() which caused that relative paths were
      converted to the root directory, i.e. -workdir=. was not working
      correctly
This commit is contained in:
Przemyslaw Czerpak
2011-01-31 12:00:58 +00:00
parent 9528cb877a
commit d3fda49df8
2 changed files with 10 additions and 1 deletions

View File

@@ -16,6 +16,12 @@
The license applies to all entries newer than 2009-04-28.
*/
2011-01-31 13:00 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/utils/hbmk2/hbmk2.prg
! small fix in FN_FromArray() which caused that relative paths were
converted to the root directory, i.e. -workdir=. was not working
correctly
2011-01-31 09:52 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
+ Enabled to use link scripts with msvc compilers, to avoid

View File

@@ -8550,7 +8550,10 @@ STATIC FUNCTION FN_FromArray( aPath, nFrom, nTo, cFileName, cDirPrefix )
cDir := ""
FOR tmp := nFrom TO nTo
cDir += aPath[ tmp ] + hb_ps()
cDir += aPath[ tmp ]
IF nFrom < nTo
cDir += hb_ps()
ENDIF
NEXT
RETURN hb_FNameMerge( DirDelPathSep( DirAddPathSep( cDirPrefix ) + cDir ), cFileName )