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

From:
Stefan Sperling <stsp@stsp.name>
Subject:
Re: capsicum work: add fd field to got_repository, change got_packidx
To:
"Todd C. Miller" <Todd.Miller@sudo.ws>
Cc:
Yang Zhong <yzhong@freebsdfoundation.org>, gameoftrees@openbsd.org
Date:
Tue, 15 Dec 2020 23:44:11 +0100

Download raw body.

Thread
On Tue, Dec 15, 2020 at 03:33:11PM -0700, Todd C. Miller wrote:
> On Tue, 15 Dec 2020 23:27:55 +0100, Stefan Sperling wrote:
> 
> > Sure. It seems like we'll more flexibility when building error messages
> > and this is probably the easiest way to go about it.
> >
> > This adds an errno-specific interface, meaning it always appends the
> > result of strerror(3) to the provided format string.
> 
> I wouldn't make buf static since it doesn't need to exist after
> the function returns.  Otherwise OK.

Ah, yes, good catch.

With this fixed, I've added the function to the 'main' branch just now.

Thanks!