Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: b389e0000a4bf7fbee8d7e125d28d7e08dddd67c
Ticket: 2089279fffffffffffffffffffffffffffffffff
StringObj.3 Tcl_ObjPrintf inaccuracies
User & Date: ferrieux on 2009-03-20 06:33:18
Changes

  1. icomment:
    After a second dive, it looks like the doc is currently an outright lie:
     - The %h prefix for [ciudoxX] is completely ignored (va_arg(int) in all cases)
     (I also don't understand the absence of a "p++" in the %h case)
     - As George mentioned, generalization to %ll et al is not a good idea (not really suited for vararg handling)
    
    So I'd advocate to fix the doc so that it admits taking printf() as a model and diverging only on %h.
    (maybe an explicit list of specifiers and modifiers should be added, since printf() has a variable ambition on different unix flavours).
     
    
    
  2. login: "ferrieux"
  3. mimetype: "text/plain"
  4. username: "ferrieux"