diff options
author | dkf <donal.k.fellows@manchester.ac.uk> | 2024-05-26 13:19:43 (GMT) |
---|---|---|
committer | dkf <donal.k.fellows@manchester.ac.uk> | 2024-05-26 13:19:43 (GMT) |
commit | b2214142f4719ab73e4979553e03e6daf1ad4508 (patch) | |
tree | 7f001c238f93c5f63e92ad456786dc0f89e6b425 /generic/tclConfig.c | |
parent | f2ff6304e87498f35a1563e1d8903cf005fa677b (diff) | |
parent | 1c8e57af313b8a648e803d05a8563cb16c1beec7 (diff) | |
download | tcl-b2214142f4719ab73e4979553e03e6daf1ad4508.zip tcl-b2214142f4719ab73e4979553e03e6daf1ad4508.tar.gz tcl-b2214142f4719ab73e4979553e03e6daf1ad4508.tar.bz2 |
merge 8.6
Diffstat (limited to 'generic/tclConfig.c')
-rw-r--r-- | generic/tclConfig.c | 2 |
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))); } |