Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2023-05-04
12:55 • Closed ticket [9c397da4a9]: AppendPrintfToObjVA(): support 64-bit pointers p... artifact: db8fa6a09f user: jan.nijtmans
12:53
Fix [9c397da4a9]: AppendPrintfToObjVA(): support 64-bit pointers check-in: 32db95fa6a user: jan.nijtmans tags: core-8-branch
12:09 • Ticket [9c397da4a9] AppendPrintfToObjVA(): support 64-bit pointers status st... artifact: b9cceb73a2 user: chrstphrchvz
12:03 • Add attachment 9c397da4a9.diff to ticket [9c397da4a9] artifact: d277342a71 user: chrstphrchvz
11:58 • New ticket [9c397da4a9] AppendPrintfToObjVa(): support 64-bit pointers. artifact: c532aa924a user: chrstphrchvz

AppendPrintfToObjVA(): support 64-bit pointers

Closed / Fixed9c397da4a9230f9deb32152186a46fee10701d6aCreated 4 years agoUpdated 4 years ago
Descriptionwiki2023-05-04 11:58:09
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].

Referenced by1
chrstphrchvz Ticket [9c397da4a9]: 3 changes [History diff]2023-05-04 12:09:11
jan.nijtmanswiki2023-05-04 12:55:50

Fixed [here]. Thanks for the patch!

Log in (anonymous is fine) to add a comment.

Attachments: