Skip to content
Tcl Source Code History Of Ticket 1116542
Login

History Of Ticket 1116542

Artifacts Associated With Ticket 1116542

  1. Ticket change [a03d72fc5e] (rid 96766) by dgp on 2005-02-04 23:03:06:

    1. assignee initialized to: "dkf"
    2. cmimetype initialized to: "text/plain"
    3. 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?
      
    4. foundin initialized to: "obsolete: 8.4.9"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "dgp"
    9. subsystem initialized to: "12. ByteArray Object"
    10. title initialized to: "bogus [binary format d] output"
    11. type initialized to: "Bug"
  2. Ticket change [97320ed52d] (rid 106462) by dkf on 2005-02-09 21:31:28:

    1. icomment:
      Logged In: YES 
      user_id=79902
      
      What happened was TIP#129, but why that makes a difference I
      really don't know.
      
      
    2. login: "dkf"
    3. mimetype: "text/plain"
    4. username: "dkf"
  3. Ticket change [7a28476917] (rid 90256) by dgp on 2005-02-26 01:41:28:

    1. icomment:
      Logged In: YES 
      user_id=80530
      
      FWIW, this brokenness showed
      up sometime between Tcl 8.0
      and Tcl 8.0.3.  Still investigating...
      
      
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. priority changed to: "8"
    5. username: "dgp"
  4. Ticket change [e5c05b1ff7] (rid 104182) by dgp on 2005-02-26 02:02:34:

    1. 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?
      
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  5. Ticket change [5ed45bfcc4] (rid 115699) by dgp on 2005-02-26 02:19:28:

    1. 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)
      
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  6. Ticket change [c29d1ca9f0] (rid 111514) by hobbs on 2005-02-26 02:29:24:

    1. 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).
      
      
    2. login: "hobbs"
    3. mimetype: "text/plain"
    4. resolution changed to: "Works For Me"
    5. username: "hobbs"
  7. Ticket change [d0227f4c21] (rid 113112) by dgp on 2005-02-26 04:55:28:

    1. 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.
      
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  8. Add attachment "1116542.patch" [5c411f1835] (rid 115269) by dgp on 2005-02-26 05:22:55.

  9. Ticket change [01d53f5d6d] (rid 119554) by dgp on 2005-02-26 05:22:55:

    1. 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.
      
      
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  10. Ticket change [e3c45cc9cc] (rid 87857) by dkf on 2005-02-28 16:12:50:

    1. 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?)
      
      
    2. login: "dkf"
    3. mimetype: "text/plain"
    4. username: "dkf"
  11. Ticket change [8207c112c6] (rid 117150) by dgp on 2005-03-12 00:40:44:

    1. 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?  
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  12. Ticket change [9665c1eab2] (rid 106317) by dkf on 2005-09-27 22:46:05:

    1. closedate changed to: "2005-09-27T15:46:05"
    2. closer changed to: "dkf"
    3. 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)
      
      
    4. login: "dkf"
    5. mimetype: "text/plain"
    6. resolution changed to: "Fixed"
    7. status changed to: "Pending"
    8. username: "dkf"
  13. Ticket change [3464a6cf33] (rid 106758) by dgp on 2005-09-27 22:57:02:

    1. closedate changed to: "2005-09-27T15:57:02"
    2. closer changed to: "dgp"
    3. icomment:
      Logged In: YES 
      user_id=80530
      
      
      tests fine.  thanks.
      
      
    4. login: "dgp"
    5. mimetype: "text/plain"
    6. status changed to: "Closed"
    7. username: "dgp"