maint: refactor relpath() from `realpath` for use by `ln`
authorPádraig Brady <P@draigBrady.com>
Thu, 22 Mar 2012 20:34:57 +0000 (20:34 +0000)
committerPádraig Brady <P@draigBrady.com>
Thu, 22 Mar 2012 20:34:57 +0000 (20:34 +0000)
commitb1428e3152afa3139a2968dd530e507ddd312051
tree1a3a5fc9f062df5e29fb016401d4a46443ef7f13
parent049f1dbe6869a4918c9b2181b1014db6c0e3259b
maint: refactor relpath() from `realpath` for use by `ln`

* src/relpath.c: Refactored from realpath.c and adjusted
to support returning the relative path rather than just
printing to stdout.
* src/relpath.h: Export the relpath function.
* src/Makefile.am: Reference the refactored relpath module.
* po/POTFILES.in: Likewise.
* src/realpath.c: Adjust to the refactored relpath module.
po/POTFILES.in
src/Makefile.am
src/realpath.c
src/relpath.c [new file with mode: 0644]
src/relpath.h [new file with mode: 0644]