diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2022-03-21 14:19:59 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2022-03-21 14:19:59 (GMT) |
commit | 0726ab17a254f87dcee64add378c07c5f893bb7c (patch) | |
tree | e95908ffb9e861b5d612623414123de1f5baaebd /unix/tclUnixChan.c | |
parent | fbc1385f022d052dc79c90424606cb96b8964b93 (diff) | |
parent | b39c277e12e6135a57caca867bb94569bd4bbb10 (diff) | |
download | tcl-0726ab17a254f87dcee64add378c07c5f893bb7c.zip tcl-0726ab17a254f87dcee64add378c07c5f893bb7c.tar.gz tcl-0726ab17a254f87dcee64add378c07c5f893bb7c.tar.bz2 |
Merge 9.0
Diffstat (limited to 'unix/tclUnixChan.c')
-rw-r--r-- | unix/tclUnixChan.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/unix/tclUnixChan.c b/unix/tclUnixChan.c index 62a8c16..2e305be 100644 --- a/unix/tclUnixChan.c +++ b/unix/tclUnixChan.c @@ -1028,11 +1028,11 @@ TtyGetOptionProc( tcgetattr(fsPtr->fileState.fd, &iostate); Tcl_DStringInit(&ds); - Tcl_ExternalToUtfDString(NULL, (char *) &iostate.c_cc[VSTART], 1, &ds); + Tcl_ExternalToUtfDStringEx(NULL, (char *) &iostate.c_cc[VSTART], 1, TCL_ENCODING_NOCOMPLAIN, &ds); Tcl_DStringAppendElement(dsPtr, Tcl_DStringValue(&ds)); TclDStringClear(&ds); - Tcl_ExternalToUtfDString(NULL, (char *) &iostate.c_cc[VSTOP], 1, &ds); + Tcl_ExternalToUtfDStringEx(NULL, (char *) &iostate.c_cc[VSTOP], 1, TCL_ENCODING_NOCOMPLAIN, &ds); Tcl_DStringAppendElement(dsPtr, Tcl_DStringValue(&ds)); Tcl_DStringFree(&ds); } |