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

          Priority: medium
            Bug ID: 72574
                CC: [email protected]
          Assignee: [email protected]
           Summary: core-util: set_scheduler: check for RLIMIT_RTTIME
        QA Contact: [email protected]
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: [email protected]
          Hardware: Other
            Status: NEW
           Version: unspecified
         Component: core
           Product: PulseAudio

Created attachment 90589
  --> https://bugs.freedesktop.org/attachment.cgi?id=90589&action=edit
[PATCH] core-util: set_scheduler: check for RLIMIT_RTTIME

set_scheduler() assumes that if sys/resource.h was found then we will
find RLIMIT_RTTIME there, but this is a non-POSIX extension on Linux.

Change the check to ensure that RLIMIT_RTTIME is actually defined.
Linux indeed defines this as a macro, and POSIX specifies that the other
RLIMIT_ constants must be macros, so having this as an #ifdef seems
correct.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
_______________________________________________
pulseaudio-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/pulseaudio-bugs

Reply via email to