Artifacts Associated With Ticket 219008ffffffffff
Ticket change [6c05fbc26d] (rid 128428) by nobody on 2000-10-26 01:09:15:
- assignee initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized to:
OriginalBugID: 3878 Bug Version: 8.0.5 SubmitDate: '1999-12-14' LastModified: '2000-01-24' Severity: LOW Status: Released Submitter: techsupp ChangedBy: hobbs OS: BSD OSVersion: netbsd Machine: Tera MTX FixedDate: '2000-01-24' FixedInVersion: 8.3 ClosedDate: '2000-10-25' Name: Robert R. Henry ObservedBehavior: tclUnixChan.c contains the test if (addr.s_addr == -1) { on a netbsd port, where sizeof(int)==8, sizeof(short)==4, sizeof(addr.s_addr)==4, this comparision results in a test ofa 32 bit unsigned (s_addr) with a 64 bit signed number, and the comparision always fails. DesiredBehavior: The value -1 should be type cast to the same type as s_addr; or a manifest constant should be used for the value -1 (broadcast mask); or the explicit constant 0xffffffff should be used; In 8.3.0, the '-1' was changed to '0xFFFFFFFFFFFFFFFF', which will be -1 for 32 or 64 bits. -- 01/23/2000 hobbs Wrong fix. The intention was to make it be 32 bits at all times. The constant was changed to 0xFFFFFFFF (-1 for 32 bits). -- 01/24/2000 hobbs - foundin initialized to: "final: 8.0.5"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "nobody"
- subsystem initialized to: "69. Other"
- title initialized to: "tclUnixChan.c mixes signed and unsigned"
- type initialized to: "Bug"
Ticket change [6a42e45dc4] (rid 128120) by welch on 2000-10-26 08:33:08:
- closedate changed to: "2000-10-26T01:33:08"
- closer changed to: "welch"
- priority changed to: "2"
- resolution changed to: "Fixed"
- status changed to: "Closed"
Ticket change [2a4f7d1b2e] (rid 118534) by dgp on 2001-04-21 04:14:49:
- closedate changed to: "2001-04-20T21:14:49"
- closer changed to: "dgp"
- subsystem changed to: "27. Channel Types"