mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-27 02:02:26 +00:00
e7acb9f696
When retrieving Unicode text from an edit box in the GUI configurer, we were using plain memchr() to look for a terminating NUL. But of course you have to use wmemchr() to look for a UTF-16 NUL, or else memchr() will generate a false positive on the UTF-16 version of (at least) any ASCII character! (I also have to provide a fallback implementation of wmemchr for the w32old builds, which don't have it in the libc they build against. It's as simple as possible, and we use the libc version where possible.) |
||
---|---|---|
.. | ||
platforms | ||
cmake.h.in | ||
gitcommit.cmake | ||
gtk.cmake | ||
licence.cmake | ||
setup.cmake | ||
toolchain-mingw.cmake | ||
toolchain-winegcc.cmake | ||
winegcc |