]> git.99rst.org Git - git.git/commit
reftable/stack: adapt `format_name()` to handle allocation failures
authorPatrick Steinhardt <redacted>
Thu, 17 Oct 2024 04:54:05 +0000 (06:54 +0200)
committerTaylor Blau <redacted>
Thu, 17 Oct 2024 20:59:56 +0000 (16:59 -0400)
commite693ccf2c9427dfd5d93db723ac68f49f550ed38
treea2d8812e7b2f02972bfc338c97a4faac14c77377
parent31eedd1d115c086a84aaa5b53b14294d0afda4ae
reftable/stack: adapt `format_name()` to handle allocation failures

The `format_name()` function cannot pass any errors to the caller as it
has a `void` return type. Adapt it and its callers such that we can
handle errors and start handling allocation failures.

Signed-off-by: Patrick Steinhardt <redacted>
Signed-off-by: Taylor Blau <redacted>
reftable/stack.c
git clone https://git.99rst.org/PROJECT