From: Raphaël Beamonte Date: Fri, 15 Nov 2013 00:58:33 +0000 (-0500) Subject: Introduce a new utils_partial_realpath function X-Git-Tag: v2.4.0-rc1~4 X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=commitdiff_plain;h=5154230f59b7f66abe33166cf14ef49d2c4e2219;hp=5154230f59b7f66abe33166cf14ef49d2c4e2219 Introduce a new utils_partial_realpath function This new utils function allows to resolve partially the paths using realpath. As realpath(3) is not available to use for unexistent paths, this function that allows to resolve partially existent paths can be used in cases we don't know if the path fully exists. It first resolves the existent part using realpath(3) and then concatenate the unexistent part to it. Signed-off-by: Raphaël Beamonte Signed-off-by: David Goulet ---