Skip to content
Tcl Source Code Artifact [f2e6fa75ca]
Login

Artifact [f2e6fa75ca]

Artifact f2e6fa75cacfe15f5132831a529d415a3636aa39:

Manifest of check-in [f2e6fa75ca] - * generic/tclIO.c (Tcl_GetsObj): Check that the eol pointer has not gone past the end of the string when in auto translation mode and the INPUT_SAW_CR flag is set. The previous code worked because the end of string value \0 was being compared to \n, this patch just skips that pointless check. by mdejong on 2003-03-06 09:58:44.
B e22b36d8b67106fb20326541493b9613417d7fee
C \t*\sgeneric/tclIO.c\s(Tcl_GetsObj):\sCheck\sthat\n\tthe\seol\spointer\shas\snot\sgone\spast\sthe\send\n\tof\sthe\sstring\swhen\sin\sauto\stranslation\n\tmode\sand\sthe\sINPUT_SAW_CR\sflag\sis\sset.\n\tThe\sprevious\scode\sworked\sbecause\sthe\n\tend\sof\sstring\svalue\s\\0\swas\sbeing\scompared\n\tto\s\\n,\sthis\spatch\sjust\sskips\sthat\spointless\n\tcheck.\n
D 2003-03-06T09:58:44
F ChangeLog 900a4769f33ba31b588809af4dc30923de6b92be
F generic/tclIO.c 70b07eb2add7b335d1bc94b3e38298f73f1b57dd
F tests/io.test 7179541fdb26c8f52c828404615d7d93397ce674
P 5c860f8cb13a35db3ed3ed1ddc7a85200e45d101
U mdejong
Z 484ddd690d507fdf3b7a16faf3e9608f