Artifacts Associated With Ticket 2662434
Ticket change [29cbad5907] (rid 118451) by egavilan on 2009-03-04 17:17:08:
- assignee initialized to: "dkf"
- cmimetype initialized to: "text/plain"
- 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
- foundin initialized to: "obsolete: 8.6b1.1"
- is_private initialized to: "0"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "egavilan"
- subsystem initialized to: "57. zlib"
- title initialized to: "zlib crc32 returns negative integers"
- type initialized to: "Bug"
Ticket change [0e7cd0f550] (rid 94625) by dkf on 2009-03-05 00:26:34:
- closedate changed to: "2009-03-04T17:26:34"
- closer changed to: "dkf"
- icomment:
allow_comments - 1
- login: "dkf"
- mimetype: "text/plain"
- resolution changed to: "Fixed"
- status changed to: "Closed"
- username: "dkf"