From: Junio C Hamano Date: Tue, 16 Apr 2024 22:39:14 GMT Subject: Re: [PATCH] apply: avoid using fixed-size buffer in write_out_one_reject() Message-ID: In-Reply-To: René Scharfe writes: > Take care to work around (arguably buggy) implementations of free(3) > that change errno by calling it only after using the errno value. ;-). The "do everything including giving an error message, jump to the exit label where resources are released just before returning" pattern naturally gives us that, which is very nice. Will queue. Thanks.