Overview
| Artifact ID: | 1d2034ef155d04d2aee08a86bdc0d80de3ea163a947ac3cf89c937ef88bff1ba |
|---|---|
| Ticket: | b8f575aa2398b0e44b5a037326b9d75037e2da4a
Tcl 9: eof erroneously flagged with not reported encoding read error |
| User & Date: | pooryorick on 2022-12-28 12:23:31 |
Changes
- icomment:
When synchronous read encounters invalid encoded data, it's desirable to have access to the data that has been correctly decoded up to the invalid point. Asynchronous [read] doesn't have the this problem because its semantics are different. This new fix accomplishes this for synchronous [read] by stuffing the correctly read portion of the data into the "-result" entry of the return options dictionary. This is new behaviour, but it's not nearly as extreme as the previous new behaviour of having synchronous [read] only produce on error on a second call.
- login: "pooryorick"
- mimetype: "text/x-fossil-wiki"