Skip to content
Tcl Source Code History Of Ticket 2662434fffffffffffffffffffffffffffffffff
Login

History Of Ticket 2662434fffffffffffffffffffffffffffffffff

Artifacts Associated With Ticket 2662434fffffffffffffffffffffffffffffffff

  1. Ticket change [29cbad5907] (rid 118451) by egavilan on 2009-03-04 17:17:08:

    1. assignee initialized to: "dkf"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      The now in-core [zlib crc32] command returns a signed integer. Most implementations, including tcllib's crc32 and the sample code of RFC 1952 (http://www.ietf.org/rfc/rfc1952.txt) returns unsigned values.
      While I don't have access to the ISO 3309 standard in which the checksum is defined, the signed value is inconsistent with other tools in the wild (including tcl ones).
      
      Example code:
      % info patchlevel
      8.6b1.1
      % package require crc32
      1.3
      % set a "dabale arroz a la zorra el abad"
      dabale arroz a la zorra el abad
      % zlib crc32 $a
      -452134725
      % crc::crc32 $a
      3842832571
      % expr [zlib crc32 $a] & 0xffffffff
      3842832571
      
      
    4. foundin initialized to: "obsolete: 8.6b1.1"
    5. is_private initialized to: "0"
    6. priority initialized to: "5 Medium"
    7. resolution initialized to: "None"
    8. status initialized to: "Open"
    9. submitter initialized to: "egavilan"
    10. subsystem initialized to: "57. zlib"
    11. title initialized to: "zlib crc32 returns negative integers"
    12. type initialized to: "Bug"
  2. Ticket change [0e7cd0f550] (rid 94625) by dkf on 2009-03-05 00:26:34:

    1. closedate changed to: "2009-03-04T17:26:34"
    2. closer changed to: "dkf"
    3. icomment:
      
      
      allow_comments - 1
      
      
      
    4. login: "dkf"
    5. mimetype: "text/plain"
    6. resolution changed to: "Fixed"
    7. status changed to: "Closed"
    8. username: "dkf"