[pulseaudio-tickets] [Bug 42715] Does not compile on GNU/Hurd

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Jan 1 11:48:50 PST 2012


https://bugs.freedesktop.org/show_bug.cgi?id=42715

--- Comment #10 from Arun Raghavan <arun at accosted.net> 2012-01-01 19:48:50 UTC ---
Comment on attachment 53508
  --> https://bugs.freedesktop.org/attachment.cgi?id=53508
Fix for src/pulsecore/mutex-posix.c

Review of attachment 53508:
 --> (https://bugs.freedesktop.org/page.cgi?id=splinter.html&bug=42715&attachment=53508)
-----------------------------------------------------------------

::: src/pulsecore/mutex-posix.c
@@ +51,5 @@
>  
>  #ifdef HAVE_PTHREAD_PRIO_INHERIT
> +    if (inherit_priority) {
> +        r = pthread_mutexattr_setprotocol(&attr, PTHREAD_PRIO_INHERIT);
> +        pa_assert_se(r == 0 || r == ENOTSUP);

This can now become a pa_assert() since there is no side effect.

(easily fixed while merging, though, so don't need to reroll this patch)

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the pulseaudio-bugs mailing list