Artifacts Associated With Ticket 1116542fffffffff
Ticket change [a03d72fc5e] (rid 96766) by dgp on 2005-02-04 23:03:06:
- assignee initialized to: "dkf"
- cmimetype initialized to: "text/plain"
- comment initialized to:
% info patch 8.4.9 % parray tcl_platform tcl_platform(byteOrder) = littleEndian tcl_platform(machine) = alpha tcl_platform(os) = Linux tcl_platform(osVersion) = 2.2.23 tcl_platform(platform) = unix tcl_platform(user) = dgp tcl_platform(wordSize) = 8 % binary scan [binary format d 83] c* v; set v 0 0 0 0 0 0 0 0 It appears the [binary format d] spits out all x00 bytes. This is fixed in 8.5a3. Can someone who knows what happened backport the fix please?
- foundin initialized to: "obsolete: 8.4.9"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "dgp"
- subsystem initialized to: "12. ByteArray Object"
- title initialized to: "bogus [binary format d] output"
- type initialized to: "Bug"
Ticket change [97320ed52d] (rid 106462) by dkf on 2005-02-09 21:31:28:
- icomment:
Logged In: YES user_id=79902 What happened was TIP#129, but why that makes a difference I really don't know.
- login: "dkf"
- mimetype: "text/plain"
- username: "dkf"
- icomment:
Ticket change [7a28476917] (rid 90256) by dgp on 2005-02-26 01:41:28:
- icomment:
Logged In: YES user_id=80530 FWIW, this brokenness showed up sometime between Tcl 8.0 and Tcl 8.0.3. Still investigating...
- login: "dgp"
- mimetype: "text/plain"
- priority changed to: "8"
- username: "dgp"
- icomment:
Ticket change [e5c05b1ff7] (rid 104182) by dgp on 2005-02-26 02:02:34:
- icomment:
Logged In: YES user_id=80530 Bug arrived in Tcl 8.0p1: % info patch 8.0 % binary scan [binary format d 1.2] d w; set w 1.2 % info patch 8.0p1 % binary scan [binary format d 1.2] d w; set w 2.51973479379e-322 How can we not have tests in the test suite that [binary scan] and [binary format] are inverse functions?
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [5ed45bfcc4] (rid 115699) by dgp on 2005-02-26 02:19:28:
- icomment:
Logged In: YES user_id=80530 Bug was likely introduced with this change: 9/15/97 (bug fix) Alignment problems in "binary format" would cause a crash on some platforms when formatting floating point numbers. (SS)
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [c29d1ca9f0] (rid 111514) by hobbs on 2005-02-26 02:29:24:
- icomment:
Logged In: YES user_id=72656 This works fine for me with AMD64/Linux, Sol8-64 and HP-UX 11 64-bit (pa-risc).
- login: "hobbs"
- mimetype: "text/plain"
- resolution changed to: "Works For Me"
- username: "hobbs"
- icomment:
Ticket change [d0227f4c21] (rid 113112) by dgp on 2005-02-26 04:55:28:
- icomment:
Logged In: YES user_id=80530 This is apparently a problem with memcpy() on this system. Replacing "sizeof(double)" with "1+sizeof(double)" makes things work. Leaving it as it is, only one byte is copied by memcpy() instead of the full 8 bytes of the double value.
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Add attachment "1116542.patch" [5c411f1835] (rid 115269) by dgp on 2005-02-26 05:22:55.
Ticket change [01d53f5d6d] (rid 119554) by dgp on 2005-02-26 05:22:55:
- icomment:
File Added - 123099: 1116542.patch Logged In: YES user_id=80530 Attached patch is a partial backport from the HEAD that corrects this problem.
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [e3c45cc9cc] (rid 87857) by dkf on 2005-02-28 16:12:50:
- icomment:
Logged In: YES user_id=79902 If there's a bug like this on linux-alpha, should there be updates to configure to detect it and install a compat/ workaround in that case? (Fix looks good BTW, but the test probably ought to use a value that has an exact binary representation: 1.25 instead of 1.2?)
- login: "dkf"
- mimetype: "text/plain"
- username: "dkf"
- icomment:
Ticket change [8207c112c6] (rid 117150) by dgp on 2005-03-12 00:40:44:
- icomment:
Logged In: YES user_id=80530 not a Linux/Alpha bug so much as brokenness of an ancient compiler. not clear what could go in compat to deal with this?
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [9665c1eab2] (rid 106317) by dkf on 2005-09-27 22:46:05:
- closedate changed to: "2005-09-27T15:46:05"
- closer changed to: "dkf"
- icomment:
Logged In: YES user_id=79902 Fixed in 8.4 branch I believe (and I think the HEAD was immune for unrelated reasons). Retest and reopen if the fix fails please (it works for me)
- login: "dkf"
- mimetype: "text/plain"
- resolution changed to: "Fixed"
- status changed to: "Pending"
- username: "dkf"
Ticket change [3464a6cf33] (rid 106758) by dgp on 2005-09-27 22:57:02:
- closedate changed to: "2005-09-27T15:57:02"
- closer changed to: "dgp"
- icomment:
Logged In: YES user_id=80530 tests fine. thanks.
- login: "dgp"
- mimetype: "text/plain"
- status changed to: "Closed"
- username: "dgp"