We discussed this before. I went ahead and made a patch that will compile and
pass all tests (as well as avoid the implicit declaration warnings) using
libbsd on Debian/Ubuntu. This is against 2.7.4, so the IFDEF would have to be
added any new places where strlcat/strlcopy are used in 2.8. I didn't check
that.
I think there's little risk it will break existing users of libstrl. It would
be nice to see this applied for 2.8.0. I'd also appreciate feedback on using
it in a distro patch to 2.7.4 (assuming there's no 2.7.5)?
Thanks,
Scott K
- text/x-patch attachment: patch2
Received on Fri Jan 18 2013 - 06:57:07 PST