From: Raphaël Beamonte Date: Wed, 13 Nov 2013 05:34:37 +0000 (-0500) Subject: Correct the behavior of the utils_expand_path function X-Git-Tag: v2.4.0-rc1~46 X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=commitdiff_plain;h=116f95d94575a68aee90fff79c064119729d0d24;hp=116f95d94575a68aee90fff79c064119729d0d24 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 ---