[lttng-dev] [lttng-tools PATCH 0/5] utils_expand_path fix
Raphaël Beamonte
raphael.beamonte at gmail.com
Sat Nov 23 17:32:23 EST 2013
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
More information about the lttng-dev
mailing list