relocatable: support UNIXROOT in relocate() on EMX
commitcc0009850129a39e514e00df66a7b5cc3609fb87
authorKO Myung-Hun <komh78@gmail.com>
Tue, 9 Dec 2014 01:40:48 +0000 (9 10:40 +0900)
committerBen Pfaff <blp@cs.stanford.edu>
Tue, 9 Dec 2014 05:57:09 +0000 (8 21:57 -0800)
treebe2458fbebe9f2bbff303bd10939c791a04f3389
parent3c4e08331004fb2c43d42f521e1b546222ef8d6e
relocatable: support UNIXROOT in relocate() on EMX

UNIXROOT is used to specify a drive of a root of FHS. So if a path is
started with '/', then it should be translated to "$UNIXROOT/".

* lib/relocatable.c (relocate): Prepend $UNIXROOT to pathname if it is
started with '/' on EMX.
ChangeLog
lib/relocatable.c