Skip to content
Tcl Source Code History Of Ticket 1117017
Login

History Of Ticket 1117017

Artifacts Associated With Ticket 1117017

  1. Ticket change [46c93e9a7d] (rid 99574) by mic42 on 2005-02-05 20:54:43:

    1. assignee initialized to: "dkf"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      The man page for binary scan is not consistent on its
      treatment of unsigned vs signed issues.
      
      In the general part it recommends to use masking with
      0xff..., while in the specific parts for c and s format
      specifiers it tells one should use expr (0x100+$val) %
      0x100
      
      A second smaller issue can be found in the description
      of the 'i' format specifier:
      "Note that the integers returned are signed and cannot
      be represented by Tcl as unsigned values. "
      
      since Tcl 8.4 with wide() its untrue, as we have a
      larger datatype than the signed 32-bit int.
      
      Michael
      
      
    4. foundin initialized to: "obsolete: 8.5a2"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "mic42"
    9. subsystem initialized to: "16. Commands A-H"
    10. title initialized to: "Manpage inconsistent for binary scan"
    11. type initialized to: "Bug"
  2. Ticket change [79917b43ed] (rid 90152) by dkf on 2005-02-09 21:12:33:

    1. icomment:
      Logged In: YES 
      user_id=79902
      
      The "unsigned" problem is still there; [binary scan] can
      read wide values...
      
      
    2. login: "dkf"
    3. mimetype: "text/plain"
    4. subsystem changed to: "12. ByteArray Object"
    5. username: "dkf"
  3. Ticket change [ad62479c58] (rid 101462) by dkf on 2005-02-10 17:29:48:

    1. status changed to: "Closed"
  4. Ticket change [0deca07cad] (rid 94519) by dkf on 2005-02-10 17:29:49:

    1. closedate changed to: "2005-02-10T10:29:49"
    2. closer changed to: "dkf"
    3. icomment:
      Logged In: YES 
      user_id=79902
      
      Tidied up; docs are now consistent about how to strip the
      sign and don't claim that it is impossible to represent an
      unsigned 32-bit quantity.
      
      
    4. login: "dkf"
    5. mimetype: "text/plain"
    6. resolution changed to: "Fixed"
    7. username: "dkf"