Skip to content
Tcl Source Code Artifact [7d959464b9]
Login

Artifact [7d959464b9]

Artifact 7d959464b920cc53e56347b420bdb26d071a2d0bde882c1358dbaaa86512b141:

Manifest of check-in [7d959464b9] - Fix [4c5a98f5a0]: gets with -translation auto merged lines after a "\r" at the end of a read. Reset INPUT_SAW_CR as soon as data follows the "\r", and set it again if the skipped "\n" is pushed back, so that the case of [b3977d199b] still works. by serhiy.storchaka on 2026-10-16 21:40:08.
B c3bf6dd052b76608fa8481a05f66fb2bb0c1b60978ca64d1d074610a29d174c4
C Fix\s[4c5a98f5a0]:\sgets\swith\s-translation\sauto\smerged\slines\safter\sa\s"\\r"\sat\sthe\send\sof\sa\sread.\sReset\sINPUT_SAW_CR\sas\ssoon\sas\sdata\sfollows\sthe\s"\\r",\sand\sset\sit\sagain\sif\sthe\sskipped\s"\\n"\sis\spushed\sback,\sso\sthat\sthe\scase\sof\s[b3977d199b]\sstill\sworks.
D 2026-10-16T21:40:08.678
F generic/tclIO.c 26bc501942d13e37d506a3d3e14b8b601aaa04e576fb9c754c44d0051f503245
F tests/io.test 1c03faa38b5eb9acf0b27abc8c75541abeb42af7e1c194aefbef4d19855bc1ef
P c3bf6dd052b76608fa8481a05f66fb2bb0c1b60978ca64d1d074610a29d174c4
R 04090d952b3c2a22bd326a1ffbd0304a
T *branch * gets-auto-saw-cr
T *sym-gets-auto-saw-cr *
T -sym-main *
T -sym-trunk *
U serhiy.storchaka
Z 42b57721dff4a09500a9b3924324791c