From: "Todd C. Miller" <Todd.Miller@sudo.ws>
Subject: Re: Corruption in freshly checked out tree
To: Stefan Sperling <stsp@stsp.name>
Cc: Tracey Emery <tracey@traceyemery.net>, Christian Weisgerber <naddy@mips.inka.de>, gameoftrees@openbsd.org
Date: Tue, 11 Jan 2022 07:54:48 -0700

On Tue, 11 Jan 2022 15:40:05 +0100, Stefan Sperling wrote:

> This fixes the problem for me. OK?
>
> I would like to make a new release which includes this patch ASAP.

Why not simply use rewind() as you do in other places?

 - todd