diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2024-03-20 20:29:25 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2024-03-20 20:29:25 (GMT) |
commit | 05f705199ffe67c5d8acd08c1237e1392110bd13 (patch) | |
tree | ba0c6e7a1024d982938235931b0d1067bd1d9197 /unix/tclUnixChan.c | |
parent | fb03f3c1d1813caac99fe5c844d26364abeef9a4 (diff) | |
parent | 4327f746e6d9fb22578f2579982865dddcd5711b (diff) | |
download | tcl-05f705199ffe67c5d8acd08c1237e1392110bd13.zip tcl-05f705199ffe67c5d8acd08c1237e1392110bd13.tar.gz tcl-05f705199ffe67c5d8acd08c1237e1392110bd13.tar.bz2 |
Fix [6811a00819]: lsearch performance degradation on Tcl 8.6.11 release (thanks, Sergey!)
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 0f63293..2718044 100644 --- a/unix/tclUnixChan.c +++ b/unix/tclUnixChan.c @@ -876,12 +876,12 @@ TtySetOptionProc( Tcl_UniChar character = 0; int charLen; - charLen = Tcl_UtfToUniChar(argv[0], &character); + charLen = TclUtfToUniChar(argv[0], &character); if ((character > 0xFF) || argv[0][charLen]) { goto badXchar; } iostate.c_cc[VSTART] = character; - charLen = Tcl_UtfToUniChar(argv[1], &character); + charLen = TclUtfToUniChar(argv[1], &character); if ((character > 0xFF) || argv[1][charLen]) { goto badXchar; } |