Artifacts Associated With Ticket 224558
Ticket change [354a110cb0] (rid 106897) by nobody on 2000-12-05 15:50:36:
- assignee initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized to:
I read 1 byte from a binary file: set readst [read $fid1 1] Then I try to convert it: binary scan $readst H2 var1 I use a file that has 255 1-byte values increasing (00, 01,...,ff). The results are not reliable. OO through 0c read fine. Then I get "0a" instead of "0d". Then after x19, everything is wrong. - foundin initialized to: "obsolete: 8.3.2"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "nobody"
- subsystem initialized to: "07. Variables"
- title initialized to: "errors reading (with "scan") binary numbers"
- type initialized to: "Bug"
Ticket change [f1d540b950] (rid 109426) by welch on 2000-12-06 14:32:50:
- icomment:
Make sure you fconfigure $fid -translation binary so that, for example, carriage returns (0xd) are not converted to newlines (0xa)
- login: "welch"
- mimetype: "text/plain"
- username: "welch"
- icomment:
Ticket change [19dc91a203] (rid 122867) by dkf on 2000-12-06 16:47:12:
- closedate changed to: "2000-12-06T09:47:12"
- closer changed to: "dkf"
- icomment:
This does have all the hallmarks of an omitted -translation option, doesn't it? I've just checked against the latest CVS version, and that correctly sets up the -encoding and -eofchar options when -translation binary is set, so I'll close this bug as invalid (Tcl's behaving right, the script is just missing a (fully documented) command.)
- login: "dkf"
- mimetype: "text/plain"
- resolution changed to: "Invalid"
- status changed to: "Closed"
- username: "dkf"