2010-02-04 12:56 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
+ Added hbmk2_PathMakeRelative(). The opposite of PathProc().
Current form is not optimized and only moderately tested:
hbmk2_PathMakeRelative( "", "" )
hbmk2_PathMakeRelative( "", "hello.prg" )
hbmk2_PathMakeRelative( "", "proj\hello.prg" )
hbmk2_PathMakeRelative( "C:\this", "C:\this\that\proj\" )
hbmk2_PathMakeRelative( "C:\this", "C:\this\that\proj\hello.prg" )
hbmk2_PathMakeRelative( "C:\this", "C:\that\that\proj\hello.prg" )
hbmk2_PathMakeRelative( "C:\this", "C:\that\that\proj\hello.prg", .T. )
hbmk2_PathMakeRelative( "D:\this", "C:\that\that\proj\hello.prg" )
hbmk2_PathMakeRelative( "C:\this\test", "C:\this\test\that\proj\hello.prg" )
hbmk2_PathMakeRelative( "C:\this\test", "C:\that\that\proj\hello.prg" )
hbmk2_PathMakeRelative( "C:\this\test", "C:\that\that\proj\hello.prg", .T. )
hbmk2_PathMakeRelative( "D:\this\test", "C:\that\test\that\proj\hello.prg" )
* contrib/hbfbird/tests/simple.prg
* contrib/hbfbird/tests/test.prg
* contrib/hbfbird/tests/stress.prg
! Fixed references to absolute paths non-existent on users computer.
! Fixed IP address to be 127.0.0.1 instead of previous env specific value.
* Indented.
* Some formatting.