bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bug in nanosleep() implementation for Unix platforms lacking same


From: Daniel Richard G.
Subject: Re: Bug in nanosleep() implementation for Unix platforms lacking same
Date: Fri, 18 Sep 2015 20:25:19 -0400

On Fri, 2015 Sep 18 09:32+0100, Pádraig Brady wrote:
> 
> I think the SIGCONT handling is to handle reception of explicit
> SIGSTOP and SIGCONT

Ah, okay, that makes sense.

> > and even if it did, the nanosleep() implementation would then return
> > 1 instead of the correct value of -1.
> 
> Yes that looks incorrect.
> Perhaps something like this suffices:

Indeed, test-nanosleep now passes for me on both Linux (when using that
implementation) and the system I'm working on. Thank you for the fix!


--Daniel


-- 
Daniel Richard G. || address@hidden
My ASCII-art .sig got a bad case of Times New Roman.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]