Commit 6439a0af0ca6b0256a4273a8ae0175e896bcc8da

Pádraig Brady 2015-09-21T23:46:05

nanosleep: fix return code for interrupted replacement * lib/nanosleep.c (nanosleep): In the replaced nanosleep, ensure that we return -1 in the case the call is interrupted by a signal, rather than the current value of 1. Diagnosed and tested by Daniel Richard G.