Overview
| Artifact ID: | 104c2074aa791949d969f5cdc4c5310895f3c262f5bca5cee184d9a2b7b22c91 |
|---|---|
| Ticket: | 4c5a98f5a0d4ae30a0f1bb4d76592f3ba3551bd1
gets with -translation auto merges lines after a "\r" at the end of a read |
| User & Date: | serhiy.storchaka on 2026-10-16 21:40:49 |
Changes
- icomment:
Proposed fix in branch [/timeline?r=gets-auto-saw-cr|gets-auto-saw-cr]: Tcl_GetsObj() resets INPUT_SAW_CR as soon as data follows the "\r" and sets it again if the skipped "\n" is pushed back, so the torn CRLF case of [b3977d199b] still works (io-29.36.1, io-29.36.2). Test io-29.36.3.
- login: "serhiy.storchaka"
- mimetype: "text/x-fossil-wiki"