[lttng-dev] [lttng-tools PATCH 0/5] utils_expand_path fix

David Goulet dgoulet at efficios.com
Mon Nov 25 10:51:06 EST 2013


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: <http://lists.lttng.org/pipermail/lttng-dev/attachments/20131125/f9e88635/attachment-0001.pgp>


More information about the lttng-dev mailing list