On 29/09/2026 06:48, Collin Funk wrote:
* src/join.c (struct line): Use the COUNTED_BY attribute on the fields
member.
(struct seq): Use the COUNTED_BY attribute on the lines member.
(freeline): When setting a pointer using the COUNTED_BY attribute to
NULL, set its counter to zero.
Ok cool. This helps when runtime bounds checking is enabled:
https://gcc.gnu.org/onlinedocs/gcc/Common-Attributes.html#index-counted_005fby

I see gnulib defines this away where it's not supported on pointers.

cheers,
Padraig

Reply via email to