<i>Signature of Tcl_GetHashKey, Tcl_(Create|Find)HashEntry</i> status still Closed with 7 other changes
by
.
D 2015-01-26T16:39:15.861
J assignee aku
J closedate 2457049.19393358
J comment The\ssignatures\sof\sthose\sfunctions\suse\s"char\s*"\sresp.\r\n"const\schar\s*"\sin\stheir\ssignatures.\sHowever,\skeys\sin\r\nhash\stables,\scan\sbe\sanything,\sso\susing\s"char"\shere\r\nmeans\sthat\stype\scasts\sare\sneeded\sin\smany\scurrent\r\ncode\susing\shash\stables.\r\n\r\nAt\sfirst\ssight,\sthis\smight\sseem\sa\sbinary\sincompatible\r\nchange\sto\schange\sthis\s,\sbecause\son\ssome\splatforms\r\n"char\s*"\sdoes\snot\shave\sthe\ssame\ssize\sas\s"void\s*".\r\nHowever,\sthose\s3\sfunctions\sare\sin\sreality\smacros\r\ndefined\sin\stcl.h,\swhich\seventuall\scall\sfunctions\r\nwhose\ssignature\sis\snot\schanged.\sSo:\sthis\r\nchange\sis\s100%\ssource\sand\sbinary\scompatible!\r\n\r\nHere\sis\sthe\ssuggested\spatch.\r\n\r\nBecause\sTcl_(Create|Find)HashEntry\sis\sin\sthe\r\nstub\stable,\s(but\scannot\sactually\sbe\sused,\ssee\r\nBug\s#3007895),\sthis\spatch\sis\sbetter\sused\r\nin\scombination\swith\s#3007895.\sOtherwise\r\npeople\smight\swonder\swhy\sthe\ssignatures\r\nof\sthose\sstub\stable\sentries\sdon't\smatch\sthe\r\ndoc\sand\sthe\smacros.
J icomment \r\nJust\sfor\sthe\srecord,\sthis\scaused\ssome\ssource\sincompat\r\ntrouble\swith\sItk\s4\ssources.\s\sNot\sdifficult\sto\sresolve.
J login dgp
J mimetype text/plain
J severity Minor
K 3009403fffffffffffffffffffffffffffffffff
U dgp
Z 3e904fcc6dd900b1d5a1f7992cf906d9