Introduce a new utils_resolve_relative function
authorRaphaël Beamonte <raphael.beamonte@gmail.com>
Wed, 13 Nov 2013 05:34:35 +0000 (00:34 -0500)
committerDavid Goulet <dgoulet@ev0ke.net>
Wed, 13 Nov 2013 21:18:06 +0000 (16:18 -0500)
commita2e78ff0442a6a4c290577ff2ecf3c4307c3e9f5
treecb27fb8fc8e618154a43987a3cf3f17831e53736
parent67b5863058c0fbe14e0b527013b50aef8eabdd88
Introduce a new utils_resolve_relative function

This function aims to resolve relative path such as './' and
'../' in the middle of a path string. This allows to use paths
such as '~/../test' that are received as '/home/x/../test' for
instance.

Signed-off-by: Raphaël Beamonte <raphael.beamonte@gmail.com>
src/common/utils.c
src/common/utils.h
This page took 0.025477 seconds and 4 git commands to generate.