From: Raphaël Beamonte Date: Sat, 23 Nov 2013 22:32:26 +0000 (-0500) Subject: Fix: utils_expand_path now works for paths that ends with '/.' or '/..' X-Git-Tag: v2.4.0-rc2~34 X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=commitdiff_plain;h=5de083f4c3851c851906c68d92426dbc9c27cbb2;hp=5de083f4c3851c851906c68d92426dbc9c27cbb2 Fix: utils_expand_path now works for paths that ends with '/.' or '/..' Cases where the path given ended with '/.' or '/..' were not handled properly using the utils_expand_path function and the resulting path was still showing this end part. This fix aims to treat that last part and 'expand' it as expected. Signed-off-by: Raphaël Beamonte ---