|
2023-01-08
| ||
| 22:47 | Fix for [https://core.tcl-lang.org/tk/tktview?name=370b1ff03e|370b1ff03e]. Not complete/correct yet,... check-in: 522899ab24 user: jan.nijtmans tags: bug-370b1ff03e | |
|
2022-03-21
| ||
| 12:04 | • Closed ticket [4dbfa46caa]: TIP #601 bug: handling of '-buffersize' ... artifact: 9a7d1bad6d user: jan.nijtmans | |
| 09:57 | Fix [4dbfa46caa]: TIP #601 bug: handling of '-buffersize' check-in: dd396e24b7 user: jan.nijtmans tags: core-8-branch | |
|
2022-03-18
| ||
| 15:39 | See [4dbfa46caa]: Remove "constraint deprecated" from failing testcases which should pass check-in: 126625695d user: jan.nijtmans tags: bug-4dbfa46caa | |
| 15:24 | • Ticket [4dbfa46caa] TIP #601 bug: handling of '-buffersize' status s... artifact: 52105be2e5 user: jan.nijtmans | |
| 15:24 | • New ticket [4dbfa46caa]. artifact: 9fa3b3f859 user: jan.nijtmans | |
TIP #601 bug: handling of '-buffersize'
However, there were two testcases (for 9.0) which puzzled me:
I marked those with "knownBug". My first investigation hints that this is - indeed - a bug in the current TIP #601 implementation.
Those 2 testcases don't throw an exception, but they truncate the channel one more byte than expected. The cause of this is an invalid byte at the end of the stream, as a result of the truncation. But .... the stream is truncated as a result of the channel's "-buffersize" option, we don't know yet whether this byte is really invalid or not: It could still be followed by more bytes, forming a valid utf-8 byte sequence. Conclusion: when a channel's '-buffersize' is used, we have to accept 'invalid' bytes at the end of the stream as before.
522899ab24Fix for [https://core.tcl-lang.org/tk/tktview?name=370b1ff03e|370b1ff03e]. Not complete/correct yet, since this backouts the fix for [4dbfa46caa] check-in2023-01-08 22:47:45dd396e24b7Fix [4dbfa46caa]: TIP #601 bug: handling of '-buffersize' check-in2022-03-21 09:57:03126625695dSee [4dbfa46caa]: Remove "constraint deprecated" from failing testcases which should pass check-in2022-03-18 15:39:44
Fixed [here]