Correct the behavior of the utils_expand_path function
authorRaphaël Beamonte <raphael.beamonte@gmail.com>
Wed, 13 Nov 2013 05:34:37 +0000 (00:34 -0500)
committerDavid Goulet <dgoulet@ev0ke.net>
Wed, 13 Nov 2013 21:18:06 +0000 (16:18 -0500)
commit116f95d94575a68aee90fff79c064119729d0d24
tree2467509a92908ad9323ad0c7a397cce39f301868
parentc77d8c84b1100b93c66e9d6d9dac702159069010
Correct the behavior of the utils_expand_path function

Even if the utils_expand_path function was intended to allow to
use unexistent directory paths, it was in fact only working for
some kind of arguments. Paths like "foo", "bar/" or "bar/foo"
when the "bar" directory does not exist wasn't working. This
patch introduce a new way to expand paths in this function that
also works properly for these kind of arguments.

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