Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 40268316e5c18a7d6037f83691482b147fcad14190e693c9d6a1d03601d08ec6
Ticket: e5691de2eb49302428e77726a057449a06f499da
Tcl_ObjPrintf() - 'Unable to format "%p" with supplied arguments: '
User & Date: jan.nijtmans on 2018-01-26 10:15:03
Changes

  1. closedate changed to: "2458144.92712806"
  2. icomment:
    Actually, I don't think formatting a pointer value is dangerous at all: It just gives the hex representation of the memory address. What would be dangerous to - possibly at a later time - use this hex value to access this same memory again: The memory content could be different then (possibly freed), waiting for a disaster to happen.
    
    A proposal for adding %p is part of [http://core.tcl.tk/tips/doc/trunk/tip/476.md|TIP 476]. Therefore marking this ticket as RFE (Request for Extension) and as a duplicate for this TIP.
    
    Thanks for reporting it! You could try the [http://core.tcl.tk/tcl/info/afb68da53ed1658f|z_modifier] branch, to see if this approach works for you.
    
  3. login: "jan.nijtmans"
  4. mimetype: "text/x-fossil-wiki"