Skip to content
Tcl Source Code History Of Ticket 224558ffffffffff
Login

History Of Ticket 224558ffffffffff

Artifacts Associated With Ticket 224558ffffffffff

  1. Ticket change [354a110cb0] (rid 106897) by nobody on 2000-12-05 15:50:36:

    1. assignee initialized to: "nobody"
    2. cmimetype initialized to: "text/plain"
    3. 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.
      
      
    4. foundin initialized to: "obsolete: 8.3.2"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "nobody"
    9. subsystem initialized to: "07. Variables"
    10. title initialized to: "errors reading (with "scan") binary numbers"
    11. type initialized to: "Bug"
  2. Ticket change [f1d540b950] (rid 109426) by welch on 2000-12-06 14:32:50:

    1. icomment:
      Make sure you
      fconfigure $fid -translation binary
      so that, for example, carriage returns (0xd) are not converted to newlines (0xa)
      
      
    2. login: "welch"
    3. mimetype: "text/plain"
    4. username: "welch"
  3. Ticket change [19dc91a203] (rid 122867) by dkf on 2000-12-06 16:47:12:

    1. closedate changed to: "2000-12-06T09:47:12"
    2. closer changed to: "dkf"
    3. 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.)
      
      
    4. login: "dkf"
    5. mimetype: "text/plain"
    6. resolution changed to: "Invalid"
    7. status changed to: "Closed"
    8. username: "dkf"