#11 newt: Switch to nanosleep
Closed by mlichvar. Opened by mangix.
mangix/newt h  into  master

Download 11.patch

uslep was removed in POSIX 2008 and is optionally unavailable with
uClibc-ng.

Signed-off-by: Rosen Penev rosenp@gmail.com

I suspect this wouldn't work with long delays. The tv_sec field should to be set to seconds and tv_nsec to the remainder.

rebased onto 9c12261469d1c347cf666782767bde64871b354c

Fixed. Please review.

Applied with some minor changes (added ). Thanks.

Pull-Request has been closed by mlichvar

Metadata