view modules/relpath @ 16909:6b45aca5c4b2 akim/relpath

relpath: do not depend on xalloc.h. Suggested by Bruno Haible. * lib/relpath.c (convert_abs_rel): Embrace malloc failures. Simplify some conditionals. * lib/relpath.h: Adjust the documentation. * modules/relpath (Depends-on): Remove xalloc.
author Akim Demaille <akim@lrde.epita.fr>
date Mon, 18 Jun 2012 11:41:32 +0200
parents bb4ca9725d0a
children
line wrap: on
line source

Description:
Convert absolute paths to relative.

Files:
lib/relpath.h
lib/relpath.c

Depends-on:
canonicalize
dirname
error
pathmax
stdbool

configure.ac:

Makefile.am:
lib_SOURCES += relpath.c

Include:
"relpath.h"

License:
GPLv3+

Maintainer:
Pádraig Brady