bt_uuid_compare: return actual comparison
authorJonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Tue, 13 Aug 2019 22:34:20 +0000 (18:34 -0400)
committerPhilippe Proulx <eeppeliteloop@gmail.com>
Wed, 14 Aug 2019 22:00:59 +0000 (18:00 -0400)
commit00f637fdc6e017cfd6969ad81d11b35c0e98ab39
treed5ebc61f9e30af4044525164b17720ab47bc5302
parent4a543d068d5e70fb3ce52395524618d6292c4bf2
bt_uuid_compare: return actual comparison

Previous implementation resulted in non-equal uuid_a being flagged as
smaller than uuid_b even when it was actually bigger.

Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Change-Id: I00dfe935f21514d78bd586bb52729c5e147c8a36
Reviewed-on: https://review.lttng.org/c/babeltrace/+/1912
CI-Build: Philippe Proulx <eeppeliteloop@gmail.com>
Tested-by: jenkins <jenkins@lttng.org>
Reviewed-by: Philippe Proulx <eeppeliteloop@gmail.com>
src/common/uuid.c
tests/lib/test_bt_uuid.c
This page took 0.024239 seconds and 4 git commands to generate.