Commit Graph

16 Commits

Author SHA1 Message Date
Alexpux
0ca4b37072 pathtools: Add missing function declaration to header. 2014-10-19 12:49:27 +04:00
Alexpux
a1e6cd5075 pathtools: Add relocate function to path tools itself to get integrate it to programs more simply. 2014-10-04 16:14:48 +04:00
Ray Donnelly
9a2dde0b64 pathtools: Fix relocation for paths with '.' in them 2014-08-28 20:59:19 +01:00
Alexpux
b5206ea3c7 pathtools: Fix declaration. 2014-08-08 09:36:49 +04:00
Ray Donnelly
7fbc17fbd9 pathtools: Fix leaks in get_relocated_path_list
.. and reduce the (exclusive of callee) malloc count to 1.
2014-08-08 01:46:45 +01:00
Alexpux
18484dcd51 pathtools: Some fixes. 2014-08-07 17:38:15 +04:00
Alexpux
32c9b7a698 pathtools: Move MSYS2 specific functions to separate files. Check path separator when splitting path list. 2014-08-07 16:42:44 +04:00
Alexpux
d8907164da pathtools: Add function for relocation path list from base path 2014-08-07 13:23:59 +04:00
Ray Donnelly
4a381b7caf pathtools: tidy up 2014-08-05 21:02:40 +01:00
Ray Donnelly
c3b2eb64cb pathtools: Re-write split_paths()
.. since the old one wasn't my own code so I'm
not in a postition to decide the license. Also
the old version was inefficient and buggy.

I also renamed some of the MSYS2 specific hacky
functions as:
msys2_get_relocated_single_path()
and:
msys2_get_relocated_path_list()

.. because all the others are general purpose
and not hacks at all (if they were upstreamed
in any codebases I'd be fine with that.)
2014-08-05 20:18:07 +01:00
Alexpux
fd6597cc84 pathtools: relocate path lists. WIP 2014-08-05 13:55:07 +04:00
Alexpux
e0f59d20da pathtools: Fix variable declaration. 2014-08-05 02:11:21 +04:00
Alexpux
f3a964b4a4 pathtools: Remove static 2014-08-04 15:55:55 +04:00
Alexpux
ae6e736aa2 pathtools: Move debug functions to main. 2014-08-04 15:54:04 +04:00
Alexpux
e2c1805d64 pathtools: Split sources. 2014-08-04 15:26:27 +04:00
Ray Donnelly
b2a4333b44 pathtools: Added. Not a package, just a C source file.
Because we often need to add relocation support to our MinGW-w64
packages, it makes sense to try to maintain this support nicely.

Qbs can be used to build this on Linux, MacOS, Windows and MSYS2.
2014-08-03 21:58:40 +01:00