Bug #58 ยป 0015-fc_vsnprintf-Correct-return-value-on-Windows.patch
utility/support.c | ||
---|---|---|
vsnprintf_buf[VSNP_BUF_SIZE - 1] = '\0';
|
||
#ifdef HAVE_VSNPRINTF
|
||
vsnprintf(vsnprintf_buf, n, format, ap);
|
||
vsnprintf(vsnprintf_buf, VSNP_BUF_SIZE, format, ap);
|
||
#else
|
||
vsprintf(vsnprintf_buf, format, ap);
|
||
#endif /* HAVE_VSNPRINTF */
|