[libcxx-commits] [PATCH] D59727: [libc++] Fix return value of snprintf_l() on Windows when buffer is too small
Tom Anderson via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Wed Mar 27 11:30:38 PDT 2019
thomasanderson added a comment.
In D59727#1444922 <https://reviews.llvm.org/D59727#1444922>, @zoecarver wrote:
> Thanks for explaining. Would it work to call `setlocale()` then add just use `vsnprintf`?
Yes, in fact that's what the code path in the #else block does
CHANGES SINCE LAST ACTION
More information about the libcxx-commits