Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 3fc5838fb3abdf6280950f2239b1a17e3acc7700
Ticket: 1284178fffffffffffffffffffffffffffffffff
[format %h?] rejects valid integers
User & Date: dgp on 2005-09-07 18:17:48
Changes

  1. assignee changed to: "dkf"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    
    % format %hu 0xffff
    65535
    % format %hu 0x10000
    0
    % format %hu 0xffffffff
    65535
    % format %hu 0x100000000
    integer value too large to represent
    
    It's clear that %hu truncates to 
    short int size before formatting, but
    fails to do the same truncation when
    given a wide integer value.  It just
    rejects those, without a good reason.
    
  4. foundin changed to: "obsolete: 8.4.11"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "dgp"
  9. subsystem changed to: "16. Commands A-H"
  10. title changed to: "[format %h?] rejects valid integers"
  11. type changed to: "Bug"