Re: [PATCH] Fix compilation error due to new glibc implemented the strlcpy function

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Jul 5, 2023 at 2:49 PM HAGIO KAZUHITO(萩尾 一仁) <k-hagio-ab@xxxxxxx> wrote:
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.

 
Yes,it's true. The current issue was found in Fedora Rawhide, the strlcpy() had been backported to Fedora glibc package.

Thank you, Kazu.

Lianbo
 
Applied with modifying the commit log a bit.
https://github.com/crash-utility/crash/commit/4ee56105881d7bb1da1e668ac5bb47a4e0846676

Thanks,
Kazu
--
Crash-utility mailing list
Crash-utility@xxxxxxxxxx
https://listman.redhat.com/mailman/listinfo/crash-utility
Contribution Guidelines: https://github.com/crash-utility/crash/wiki

[Index of Archives]     [Fedora Development]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]

 

Powered by Linux