Re: [PATCH] unit: Fix test failures with glib 2.39.0

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Colin,

On Mon, Jan 06, 2014, Colin Watson wrote:
> glib 2.39.0 made this change:
> 
>    - g_source_remove() will now throw a critical in the case that you
>      try to remove a non-existent source.  We expect that there is some
>      code in the wild that will fall afoul of this new critical but
>      considering that we now reuse source IDs, this code is already
>      broken and should probably be fixed.
> 
> This patch fixes the test suite to keep better track of whether sources have
> already been removed and avoid double-removals.
> ---
>  unit/test-avdtp.c          |  8 ++++++--
>  unit/test-gobex-transfer.c |  6 ++++--
>  unit/test-gobex.c          | 13 ++++++++-----
>  unit/util.c                |  1 +
>  unit/util.h                |  1 +
>  5 files changed, 20 insertions(+), 9 deletions(-)

Applied. Thanks.

Johan
--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux