]> Savannah Git Hosting - gnulib.git/commit
relpath: do not depend on xalloc.h. akim/relpath
authorAkim Demaille <akim@lrde.epita.fr>
Mon, 18 Jun 2012 09:41:32 +0000 (11:41 +0200)
committerAkim Demaille <akim@lrde.epita.fr>
Mon, 18 Jun 2012 11:35:59 +0000 (13:35 +0200)
commit131873dbae7479bc43b6cfd62aef9d53e539f967
treed714e6d88c816d982a0f0f5c019d00e4b6e4d068
parent2005fbf739536a0f60bf970c24c1ecf3c9cc8a43
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.
lib/relpath.c
lib/relpath.h
modules/relpath