summaryrefslogtreecommitdiffstats
path: root/win/tclWinFile.c
diff options
context:
space:
mode:
authornijtmans <nijtmans>2011-01-12 07:32:02 (GMT)
committernijtmans <nijtmans>2011-01-12 07:32:02 (GMT)
commit84d1c7709abed907b53e9cdd145384d5fa7c51b2 (patch)
tree1f4038b8906211ed7c999625ed8df696433b4734 /win/tclWinFile.c
parent23bfc6c3e04494eb9a8165535ae9a80efec1dd7a (diff)
downloadtcl-84d1c7709abed907b53e9cdd145384d5fa7c51b2.zip
tcl-84d1c7709abed907b53e9cdd145384d5fa7c51b2.tar.gz
tcl-84d1c7709abed907b53e9cdd145384d5fa7c51b2.tar.bz2
Use _vsnprintf in stead of vsnprintf, because MSVC 6 doesn't have it. Reported by andreask.
Diffstat (limited to 'win/tclWinFile.c')
-rw-r--r--win/tclWinFile.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/win/tclWinFile.c b/win/tclWinFile.c
index 1e1fe90..0e3b33f 100644
--- a/win/tclWinFile.c
+++ b/win/tclWinFile.c
@@ -11,7 +11,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclWinFile.c,v 1.119 2010/12/16 08:52:37 nijtmans Exp $
+ * RCS: @(#) $Id: tclWinFile.c,v 1.120 2011/01/12 07:32:02 nijtmans Exp $
*/
#include "tclWinInt.h"
@@ -811,7 +811,7 @@ tclWinDebugPanic(
WCHAR msgString[TCL_MAX_WARN_LEN];
va_start(argList, format);
- vsnprintf(buf, sizeof(buf), format, argList);
+ _vsnprintf(buf, sizeof(buf), format, argList);
msgString[TCL_MAX_WARN_LEN-1] = L'\0';
MultiByteToWideChar(CP_UTF8, 0, buf, -1, msgString, TCL_MAX_WARN_LEN);