diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-08-12 10:30:14 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-08-12 10:30:14 (GMT) |
commit | 167c883c087ff89c46268d3b3a0067a8095704a5 (patch) | |
tree | d2c34f84614d25559afe802e89d03113abb2ca43 /generic/tclIO.c | |
parent | a6f978e38d8c7689dc1e15973c12df2d9f14756d (diff) | |
parent | 52549ae747613994a8ced4de9b567bc4cc09443f (diff) | |
download | tcl-167c883c087ff89c46268d3b3a0067a8095704a5.zip tcl-167c883c087ff89c46268d3b3a0067a8095704a5.tar.gz tcl-167c883c087ff89c46268d3b3a0067a8095704a5.tar.bz2 |
Merge 8.6. Better solution for [e87000d842]
Diffstat (limited to 'generic/tclIO.c')
-rw-r--r-- | generic/tclIO.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclIO.c b/generic/tclIO.c index f0d4c9e..7af6aa0 100644 --- a/generic/tclIO.c +++ b/generic/tclIO.c @@ -7711,7 +7711,7 @@ Tcl_BadChannelOption( } Tcl_ResetResult(interp); errObj = Tcl_ObjPrintf("bad option \"%s\": should be one of ", - optionName); + optionName ? optionName : ""); argc--; for (i = 0; i < argc; i++) { Tcl_AppendPrintfToObj(errObj, "-%s, ", argv[i]); |