Closed enh-google closed 2 years ago
I have tweaked your fix, tested it, and it works. So I've released 5.0.1
, and you should be good to go.
Please reopen if something go wrong.
Oh, yeah, forgot to say: FreeBSD didn't tell me about any more problems and seem to have solved it on their end.
seems like the attempt to use strcpy_s() on Windows broke the macOS build. it conflicts with the mac's _FORTIFY_SOURCE implementation (which [TIL] appears to be on by default), which has a #define of strcpy to __builtin_strcpy_chk.
here's the easiest option... i went with a new name because i assume you do want fortify where available rather than, say, strncpy() or strlcpy() --- certainly fortify seems closest to strcpy_s():
(we don't have mac presubmit, so i didn't notice this until i submitted the upgrade this morning.)