Skip to content
Tcl Source Code History Of Ticket 402663ffffffffff
Login

History Of Ticket 402663ffffffffff

Artifacts Associated With Ticket 402663ffffffffff

  1. Ticket change [4ad43fc565] (rid 126593) by kennykb on 2000-12-05 19:59:22:

    1. assignee initialized to: "nobody"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to: " "
    4. foundin initialized to: "None"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "kennykb"
    9. subsystem initialized to: ""
    10. title initialized to: "Fix for bug 124600"
    11. type initialized to: "Patch"
  2. Add attachment "None" [9297539c4d] (rid 120787) by kennykb on 2000-12-06 02:59:22.

  3. Ticket change [688709e164] (rid 103081) by kennykb on 2000-12-06 03:00:17:

    1. icomment:
      Patch adds two test cases for the correct recovery of large integers.
      
      All tests continue to pass with patch applied.
      
      
    2. login: "kennykb"
    3. mimetype: "text/plain"
    4. username: "kennykb"
  4. Ticket change [5395295a3a] (rid 93783) by dkf on 2000-12-06 17:24:55:

    1. icomment:
      I'd rather build MIN_INT and MAX_INT with the bit shift and bit negation operators, but I suppose that's just a matter of style.  Also stylistically speaking, if the values of MIN_INT and MAX_INT are shared between the tests, surely they should be computed outside the tests, but just in the main body of the file?
      
      
    2. login: "dkf"
    3. mimetype: "text/plain"
    4. username: "dkf"
  5. Ticket change [ed808a44e8] (rid 103895) by kennykb on 2000-12-06 22:45:02:

    1. icomment:
      I'd rather build MIN_INT and MAX_INT with bit shift and negation myself, but couldn't find a convenient way to do it.
      
      ( 1 << 31 ) for MIN_INT might work, except that it messes up the 64-bit port.
      
      ( -1 >> 1 ) might define MAX_INT, except that >> is an arithmetic right-shift and sign extends the damned thing: 
          ( -1 >> 1 ) == -1 !
      
      (I probably ought to work up a TIP for an unsigned shift-right operator, perhaps '>>>'.)
      
      The rules for setting up tests have never been clear to me.  Most of the other Tcl tests are entirely self-contained; in very, very few places is there code in the body of the file, except for cleaning up after failed tests.  If you'd rather hoist the code out, and you understand the implications, by all means go ahead.
      
      
      
    2. login: "kennykb"
    3. mimetype: "text/plain"
    4. username: "kennykb"
  6. Ticket change [6b11509df9] (rid 128251) by dgp on 2000-12-06 22:48:49:

    1. icomment:
      I agree with Donal's comments.  See the proc
      [largest_int] in tests/string.test for an
      example.
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  7. Ticket change [e2c946d7ea] (rid 87687) by kennykb on 2000-12-07 02:01:57:

    1. icomment:
      
      
      Patch Code - Modified - New Version
      
      OK, the revised patch has an [int_range] procedure analogous to the [largest_int] proc in tests/string.tests, and deletes it after the two tests run.  It also replaces the addition with bit shift and uses bitwise negation to make MAX_INT out of MIN_INT.
      
      
    2. login: "kennykb"
    3. mimetype: "text/plain"
    4. username: "kennykb"
  8. Ticket change [3417bc00f8] (rid 106702) by hobbs on 2000-12-10 10:03:00:

    1. closedate changed to: "2000-12-10T03:03:00"
    2. closer changed to: "hobbs"
    3. icomment:
      Looks clean, commited 9 Dec 2000 (tested Windows and Solaris).
      
      
    4. login: "hobbs"
    5. mimetype: "text/plain"
    6. status changed to: "Closed"
    7. username: "hobbs"
  9. Ticket change [d8c3d859cb] (rid 107502) by dgp on 2000-12-11 10:45:15:

    1. closedate changed to: "2000-12-11T03:45:15"
    2. closer changed to: "dgp"
    3. icomment:
      The tests scan-4.62 and scan-4.63 fail on
      RedHat Linux 6.2 on an Alpha XL-300 (64-bit):
      
      % int_range
      -9223372036854775808 9223372036854775807
      % foreach { MIN_INT MAX_INT } [int_range] {}
      % format %o $MAX_INT
      integer value too large to represent as non-long integer
      
      A new bug in [format]?  Or just tests that weren't
      written carefully enough?
      
      
      
    4. login: "dgp"
    5. mimetype: "text/plain"
    6. username: "dgp"
  10. Ticket change [aae16356e8] (rid 100995) by kennykb on 2000-12-12 00:22:08:

    1. icomment:
      Don's trouble on a 64-bit Linux is already documented as bug 119223.
      It isn't a new regression, just an incomplete 64-bit port.
      
      
    2. login: "kennykb"
    3. mimetype: "text/plain"
    4. username: "kennykb"
  11. Ticket change [70b517d3b6] (rid 100536) by dgp on 2001-04-05 08:11:56:

    1. closedate changed to: "2001-04-05T01:11:56"
    2. closer changed to: "dgp"
    3. subsystem changed to: "23. [scan]"