Re: [PATCH (v2.47 regression)] hash.h: set NEEDS_CLONE_HELPER_UNSAFE in fallback mode
- From
Taylor Blau <me@ttaylorr.com>
- Date
- Oct 3, 2024, 00:57 UTC
- Message-ID
- <Zv3r9FBd+Nog3wb7@nand.local>
- In-Reply-To
- <20241002232618.GA3442753@coredump.intra.peff.net>
On Wed, Oct 02, 2024 at 07:26:18PM -0400, Jeff King wrote:
Show 12 quoted lines
> diff --git a/hash.h b/hash.h > index f97f858307..756166ce5e 100644 > --- a/hash.h > +++ b/hash.h > @@ -82,6 +82,9 @@ > # ifdef platform_SHA1_Clone > # define platform_SHA1_Clone_unsafe platform_SHA1_Clone > # endif > +# ifdef SHA1_NEEDS_CLONE_HELPER > +# define SHA1_NEEDS_CLONE_HELPER_UNSAFE > +# endif > #endif
Gah. I could have sworn I wrote something like this myself, but I must have dropped it or hallucinated writing it in the first place.
Thanks for finding and fixing.
Thanks, Taylor