Tcl Source Code

View Ticket
Login
Ticket UUID: 9c397da4a9230f9deb32152186a46fee10701d6a
Title: AppendPrintfToObjVA(): support 64-bit pointers
Type: Patch Version: core-8-branch
Submitter: chrstphrchvz Created on: 2023-05-04 11:58:09
Subsystem: 52. Portability Support Assigned To: jan.nijtmans
Priority: 5 Medium Severity: Minor
Status: Closed Last Modified: 2023-05-04 12:55:50
Resolution: Fixed Closed By: jan.nijtmans
    Closed on: 2023-05-04 12:55:50
Description:

On 8.7/9.0, ::tcl::unsupported::representation currently only prints the lower 32 bits of pointers.

See attached patch. I believe this approach is consistent with Tcl documentation which says %p as equivalent to 0x%zx (which likely does not support 128-bit pointers, but that is arguably a separate issue).

I have not investigated whether similar fixes are needed for other cases introduced by [316d711dac3c].

User Comments: jan.nijtmans added on 2023-05-04 12:55:50:

Fixed [32db95fa6a1992a6|here]. Thanks for the patch!


Attachments: