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

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

Download raw body.

Thread
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.

 - todd