Hi again :)
I'm wondering if it's OK to make use of strlcpy()
provided by libc? musl and uclibc provide strlcpy() when -D_BSD_SOURCE
is defined. In that case there's no need to link to libbsd.
I've attached a patch that allows that. Note: I removed the "recommended" from the libbsd check because when libc provides strlcpy()
and make-check/all
says libbsd is recommended I felt like this doesn't make sense anymore.
Please review. If not wanted it's OK, feel free to close in that case. Or make changes as you like.
Kind regards,
Seb
Morning, cleaned up the patch for pcapsipdump_lib.h a bit.
Regards,
Seb