Skip to content
Tcl Source Code Artifact [d843135d95]
Login

Artifact [d843135d95]

Artifact d843135d95146f49c085383cfda8a53d64f661a52eecf3d83153c29007749ad7:

Ticket change [d843135d95] - Ticket [37108037b980ea6e|37108037b9] <i>Code cleanups to support CHERI</i> status still Open with 4 other changes by jan.nijtmans on 2022-08-25 09:46:29.
D 2022-08-25T09:46:29.064
J assignee jan.nijtmans
J icomment Thank\syou\sfor\sthose\spatches!\sThe\s008_*\spatch\shas\salready\sbeen\sapplied\sto\score-8-6-branch\sand\sup.\sI\swill\shave\sa\slook\sat\sthe\sother\sones\sas\swell.\r\n\r\nOne\sremark:\sthe\sPTR2INT/INT2PTR\smacro's\sonly\sguarantee\sround-trip\sfrom\ssize_t\s->\spointer\s->\ssize_t\s(in\sTcl\s8.6\sit\swas\sint\s->\spointer\s->\sint),\snot\spointer\s->\ssize_t\s->\spointer,\ssince\ssize(size_t)\smight\sbe\ssmaller\sthan\ssizeof(void\s*).\sSo,\swhenever\ssize_t\sis\sinsufficient\sto\sstore\swhat\sthe\scode\swants,\suse\sa\spointer.\sI\sdon't\sthink\sthe\sPTR2INT/INT2PTR\sshould\sbe\smodified.\sIn\sstead\sthe\scode\sshould\sbe\smodified\snot\sto\suse\ssize_t/ptrdiff_t\sin\sthe\splaces\swhere\sit\sis\sproblematic.\r\n\r\nAnyway,\sThanks!\s\sI\swill\shave\sa\sfurther\slook.
J login jan.nijtmans
J mimetype text/x-fossil-wiki
K 37108037b980ea6e705f56a9d983e05ee218dd0c
U jan.nijtmans
Z e3dadbc6a1c53ae624ac32603c87ebcd