On 16/08/15 00:35, Robert Millan wrote:
Hi, rumpuser_clock_sleep() attempts to use clock_nanosleep() (among others) inside an EINTR retry loop. However, EINTR condition is not detected correctly for clock_nanosleep() because this function has somewhat awkward semantics (it returns the error code instead of -1). This patch fixes up the result of clock_nanosleep() to comply with expectations, hence handle EINTR properly as with the rest of the functions in the routine.
Thanks, applied (with slight adjustment which avoids assigning back and forth between errno and rv).
