[llvm-commits] [llvm] r91842 - /llvm/trunk/include/llvm/Support/Format.h

Anton Korobeynikov anton at korobeynikov.info
Tue Dec 22 12:11:24 PST 2009


Hello, Chris

> The code in question doesn't care about this.
In fact it does - when there is no room for trailing NULL _snprintf does
not report any error. Thus, we will end with invalid string (buffer
won't be reallocated for bigger size).

I've restored this behavior for VCPP only

-- 
With best regards, Anton Korobeynikov.

Faculty of Mathematics & Mechanics, Saint Petersburg State University.





More information about the llvm-commits mailing list