summaryrefslogtreecommitdiffstats
path: root/win/tclWinPipe.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-07-11 19:24:12 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-07-11 19:24:12 (GMT)
commitc31e9810372c9b7fb8b61dd0840ed8f87ecf79f0 (patch)
tree37f171a4b263d41bda7476cc74cbf8bfc82833d6 /win/tclWinPipe.c
parent024b92cb1e7bd2653beee2d010f1baf39010cacc (diff)
downloadtcl-c31e9810372c9b7fb8b61dd0840ed8f87ecf79f0.zip
tcl-c31e9810372c9b7fb8b61dd0840ed8f87ecf79f0.tar.gz
tcl-c31e9810372c9b7fb8b61dd0840ed8f87ecf79f0.tar.bz2
[Bug #3362446]: registry keys command fails with 8.5/8.6. Follow Microsofts example better in order to prevent problems when using HKEY_PERFORMANCE_DATA.
Forgot one important '%'
Diffstat (limited to 'win/tclWinPipe.c')
-rw-r--r--win/tclWinPipe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/win/tclWinPipe.c b/win/tclWinPipe.c
index 9a529d2..b6764d4 100644
--- a/win/tclWinPipe.c
+++ b/win/tclWinPipe.c
@@ -1707,7 +1707,7 @@ TclpCreateCommandChannel(
* unique, in case channels share handles (stdin/stdout).
*/
- sprintf(channelName, "file" TCL_I_MODIFIER "x", (size_t)infoPtr);
+ sprintf(channelName, "file%" TCL_I_MODIFIER "x", (size_t)infoPtr);
infoPtr->channel = Tcl_CreateChannel(&pipeChannelType, channelName,
(ClientData) infoPtr, infoPtr->validMask);