diff options
| author | dgp <dgp@users.sourceforge.net> | 2020-05-07 19:08:24 (GMT) |
|---|---|---|
| committer | dgp <dgp@users.sourceforge.net> | 2020-05-07 19:08:24 (GMT) |
| commit | 2f7461f649fe3b5d78645f8efea56d24693f1bef (patch) | |
| tree | f8b2c44309a3ab961b7018250e0bb75d091418c0 /unix/tclUnixFile.c | |
| parent | 0187afa965d2276476598016ea28d8fcd96d48ea (diff) | |
| download | tcl-2f7461f649fe3b5d78645f8efea56d24693f1bef.zip tcl-2f7461f649fe3b5d78645f8efea56d24693f1bef.tar.gz tcl-2f7461f649fe3b5d78645f8efea56d24693f1bef.tar.bz2 | |
Fix. Note that just because we get one positive detection of an incomplete
character, we cannot conclude that the next byte also will be, or can by
taken as a single byte. At least we cannot when TCL_UTF_MAX > 3 so that we
have room for valid two-byte sequences after incomplete sequence detection.
No need for conditional code, just use an algorithm that always works.
Diffstat (limited to 'unix/tclUnixFile.c')
0 files changed, 0 insertions, 0 deletions
