"GOT", but the "O" is a cute, smiling pufferfish. Index | Thread | Search

From:
Stefan Sperling <stsp@stsp.name>
Subject:
Re: fix tog: poll: Interrupted system call
To:
Mikolaj Kucharski <mikolaj@kucharski.name>
Cc:
gameoftrees@openbsd.org
Date:
Wed, 19 May 2021 15:57:41 +0200

Download raw body.

Thread
On Wed, May 19, 2021 at 12:01:55PM +0000, Mikolaj Kucharski wrote:
> > +	n = ppoll(pfd, 1, timeout == INFTIM ? NULL : &ts, &sigset);
> >  	if (n == -1)
> >  		return got_error_from_errno("poll");
> 
> You changed poll(2) to ppoll(2), so maybe above got_error_from_errno()
> should also be updated to "ppoll" ?

Oh, indeed. I will fix this. Thanks!