Tcl Source Code

Check-in [d481d08ed9]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Fix for [a7a89d422a4f5dd3], Under strict encoding, [gets] returns an error instead of returning the second line. Also, ensure that position in file does not change if [gets] return an error.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk | main
Files: files | file ages | folders
SHA3-256: d481d08ed90385db4a1d1e24b42a62930a5cc58f413e06adf3c7f97d01df131a
User & Date: pooryorick 2023-04-15 11:54:27.016
References
2023-04-15
11:57 Pending ticket [a7a89d422a]: Under strict encoding, gets returns an error inst... artifact: 5b53efe494 user: pooryorick
Context
2023-04-15
13:25
Extend test io-75.15 to read invalid bytes in binary mode and then use [gets] to retrieve last two ... check-in: 433637e689 user: pooryorick tags: trunk, main
12:15
Merge trunk. check-in: a1bccf546d user: pooryorick tags: tip-653
11:54
Fix for [a7a89d422a4f5dd3], Under strict encoding, [gets] returns an error instead of returning the ... check-in: d481d08ed9 user: pooryorick tags: trunk, main
2023-04-14
21:42
Merge 8.7 check-in: 5b5f4f1482 user: jan.nijtmans tags: trunk, main
Changes
Unified Diff Side-by-Side Diff Patch
Changes to generic/tclIO.c.
Changes to tests/io.test.