summaryrefslogtreecommitdiffstats
path: root/generic/tclConfig.c
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2024-05-26 13:19:43 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2024-05-26 13:19:43 (GMT)
commitb2214142f4719ab73e4979553e03e6daf1ad4508 (patch)
tree7f001c238f93c5f63e92ad456786dc0f89e6b425 /generic/tclConfig.c
parentf2ff6304e87498f35a1563e1d8903cf005fa677b (diff)
parent1c8e57af313b8a648e803d05a8563cb16c1beec7 (diff)
downloadtcl-b2214142f4719ab73e4979553e03e6daf1ad4508.zip
tcl-b2214142f4719ab73e4979553e03e6daf1ad4508.tar.gz
tcl-b2214142f4719ab73e4979553e03e6daf1ad4508.tar.bz2
merge 8.6
Diffstat (limited to 'generic/tclConfig.c')
-rw-r--r--generic/tclConfig.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclConfig.c b/generic/tclConfig.c
index 28853a1..97d6111 100644
--- a/generic/tclConfig.c
+++ b/generic/tclConfig.c
@@ -127,7 +127,7 @@ Tcl_RegisterConfig(
*/
for (cfg=configuration ; cfg->key!=NULL && cfg->key[0]!='\0' ; cfg++) {
- Tcl_DictObjPut(interp, pkgDict, Tcl_NewStringObj(cfg->key, -1),
+ TclDictPut(interp, pkgDict, cfg->key,
Tcl_NewByteArrayObj((unsigned char *)cfg->value, strlen(cfg->value)));
}