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

From:
Stefan Sperling <stsp@stsp.name>
Subject:
Re: use correct pipe ends on linux
To:
Josh Rickmar <openbsd+lists@zettaport.com>
Cc:
gameoftrees@openbsd.org
Date:
Wed, 6 Jul 2022 06:02:53 +0200

Download raw body.

Thread
On Tue, Jul 05, 2022 at 06:09:12PM -0400, Josh Rickmar wrote:
>  fix pipe usage for linux
>  
>  This uses the correct read and write ends of the fds returned by
>  pipe(2) on linux.  It also moves away from creating FILE* streams with
>  fdopen and reading the stream with buf_load (which performs a fstat,
>  and breaks due to a zero length file size on linux) by instead reading
>  from the fd itself.
>  
>  Reported by abieber@, with assistance from stsp@

It is almost working now.
Signing tags with Got works, and verifying tags with Got works, too.

But verifying tags with Git does not work yet, which causes a test failure.

$ git -v 1.0.0 >/dev/null
error: no signature found
$