From mboxrd@z Thu Jan 1 00:00:00 1970 From: dgoulet@efficios.com (David Goulet) Date: Mon, 25 Nov 2013 10:51:06 -0500 Subject: [lttng-dev] [lttng-tools PATCH 0/5] utils_expand_path fix In-Reply-To: <1385245948-23011-1-git-send-email-raphael.beamonte@gmail.com> References: <20131115154539.GA6986@thessa> <1385245948-23011-1-git-send-email-raphael.beamonte@gmail.com> Message-ID: <20131125155106.GB8371@thessa> Fixes every use case I had that failed previously :). Merged. Thanks! David On 23 Nov (17:32:23), Rapha?l Beamonte wrote: > Hello David! > > Here is the fix needed to have the expected behavior for path that > ends with '/.' or '/..'. I also profit to send patches for the unit > test to allow to add tests using an existing tree and symlinks, > adding the missing copyright in utils.c and correcting the indentation > of one comment. > > Waiting for your comments! > > Thanks, > Rapha?l > > > Rapha?l Beamonte (5): > Add missing copyright to utils.c > Fix: comment indentation > Fix: utils_expand_path now works for paths that ends with '/.' or > '/..' > Tests: add symlink tests for test_utils_expand_path > Tests: add valid test cases to test_utils_expand_path > > src/common/utils.c | 30 +++++- > tests/unit/test_utils_expand_path.c | 175 ++++++++++++++++++++++++++++++++++- > 2 files changed, 199 insertions(+), 6 deletions(-) > > -- > 1.7.10.4 > -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 620 bytes Desc: Digital signature URL: