> On 9 Jul 2026, at 08:15, Kyotaro Horiguchi <horikyota(dot)ntt(at)gmail(dot)com> wrote:
> Wouldn't memcpy(parsed->twophase_gid, bufptr, xlrec->gidlen) express the
> intent more directly?
memcpy would relax the check for twophase_gid being a char array, which albeit
being a small protection still seems like an API characteristic worth keeping.
--
Daniel Gustafsson