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 >
signature.asc
Description: Digital signature
_______________________________________________ lttng-dev mailing list [email protected] http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
