On Thu, Jul 22, 2021 at 09:11:56AM -0700, Kevin J. McCarthy wrote:
What do you think of using memccpy in the strfcpy macro, if it's available, as Ian suggested?

I've pushed a commit up to branch `kevin/warnings` doing this.

memccpy() returns a different value than strncpy(), but it doesn't appear Mutt is making use of the strfcpy return value anywhere.

I also reverted the dotlock commit in that branch.

If anyone has any comments against this, please let me know. Otherwise I'll merge it into master this weekend.

Thank you!

--
Kevin J. McCarthy
GPG Fingerprint: 8975 A9B3 3AA3 7910 385C  5308 ADEF 7684 8031 6BDA

Attachment: signature.asc
Description: PGP signature

Reply via email to