Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 7fe7540d011d2c765e66e1bf0693270e7e3e4199
Ticket: 219223ffffffffffffffffffffffffffffffffff
64 bit format command behaves differently to the 32bit forma
User & Date: kennykb on 2000-12-12 00:34:28
Changes

  1. icomment:
    Patch #102663 (quite inadvertently) updates the Tcl test suite with a
    regression test for this problem.  
    
    There was a bug on 32-bit platforms as well: negative integers
    [format]ted with %x or %o could not be recovered by [scan]ning them
    with %x or %o. The [scan] would not return an error but would silently
    replace them with MAX_INT.
    
    The fix for this bug includes a test case that tries to do
    complementary [format] and [scan] of -1, MAX_INT, and MIN_INT; this
    test case fails on 64-bit platforms because it trips over this issue
    with [format].
    
    
    
  2. login: "kennykb"
  3. mimetype: "text/plain"
  4. username: "kennykb"