On 2023/07/05 11:02, Lianbo Jiang wrote:
Crash-utility implemented its own strlcpy(), but for now the latest
glibc has added the strlcpy function to POSIX version(which is derived
from OpenBSD). Eventually this caused the follow compilation error:
Thanks for the early fix.
It looks like there is no behavior difference between glibc's strlcpy
and crash's one in the crash source, so the weak attribute looks ok.
Applied with modifying the commit log a bit.
https://github.com/crash-utility/crash/commit/4ee56105881d7bb1da1e668ac5b...
Thanks,
Kazu