HomeClusterLabs Projects
Diffusion LibQB 4dcdfe985680

strlcpy: avoid compiler warning from strncpy (#473)

Description

strlcpy: avoid compiler warning from strncpy (#473)

Otherwise GCC complains about ‘__builtin_strncpy’ specified bound
depends on the length of the source argument.

Signed-off-by: Ferenc Wágner <wferi@debian.org>

Details

Provenance
wferiAuthored on Mar 23 2023, 8:56 AM
GitHub <noreply@github.com>Committed on Mar 23 2023, 8:56 AM
Parents
rQ1a32a6062c40: Add --disable-tests option (#475)
Branches
Unknown
Tags
Unknown

Event Timeline

GitHub <noreply@github.com> committed rQ4dcdfe985680: strlcpy: avoid compiler warning from strncpy (#473) (authored by wferi <wferi@debian.org>).Mar 23 2023, 8:56 AM