You're right! https://docs.microsoft.com/en-us/cpp/c-runtime-library/reference/vsnprintf-v... `vsnprintf` always writes the NULL terminator, and we can pass `count=sizeof(buffer)` as C99 mandates. `_vsnprintf` does not, so we must set the buffer to zero, and pass `count=sizeof(buffer)-1`. The Microsoft specific API is much too complex!
vm-dev@lists.squeakfoundation.org