Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 8eccc51ac7425f4e5d7226e43e9c8e740aec7a4b
Ticket: 3386385fffffffffffffffffffffffffffffffff
Tcl_RepresentationCmd: sprintf dislikes unitialized ptrs
User & Date: ferrieux on 2011-08-06 01:08:47
Changes

  1. closedate changed to: "2011-08-05T18:08:47"
  2. closer changed to: "ferrieux"
  3. icomment:
    Though it is technically correct that not both ptr1 and ptr2 in the twoPtrValue of a Tcl_Obj are meaningful in all types, it is out of  Tcl_RepresentationCmd's mission to keep track of that (since by definition it could be used on third-party types provided by extensions), hence perfectly valid for it to display a random hex value for the unused slots.
    Hence closing as Won't Fix (though I'd welcome a "valgrind pragma" -- if such beasts exist -- to silence the false alarm).
    
    
    
  4. login: "ferrieux"
  5. mimetype: "text/plain"
  6. resolution changed to: "Wont Fix"
  7. status changed to: "Closed"
  8. username: "ferrieux"