Index | Thread | Search

From:
Job Snijders <job@openbsd.org>
Subject:
Re: rpki-client: add error checks for pthread_* calls
To:
Theo Buehler <tb@theobuehler.org>
Cc:
Philip Guenther <guenther@gmail.com>, David Gwynne <david@gwynne.id.au>, tech@openbsd.org
Date:
Tue, 24 Jun 2025 15:12:24 +0000

Download raw body.

Thread
On Tue, Jun 24, 2025 at 10:12:30AM +0200, Theo Buehler wrote:
> On Tue, Jun 24, 2025 at 10:06:18AM +0200, Theo Buehler wrote:
> > On Tue, Jun 24, 2025 at 10:01:47AM +0200, Theo Buehler wrote:
> > > > or
> > > >     errx(1, "pthread_create: %s", strerror(error));
> > > 
> > > Alright. I'm not going to do errc myself and if anyone really wants it,
> > > please go and fix portable first.
> > 
> > Bah. Disregard. Need to use err.
> 
> This time with errx. I also added error checks for two cond_wait.
> Some checks were pulled out of the if clauses since there's no
> sensible wrapping possible.

Before it becomes even more unsightly, OK job@ :-)

Thanks!