Skip to content
Tcl Source Code Artifact [77d59600aa]
Login

Artifact [77d59600aa]

Artifact 77d59600aa9c419b4c769fd4403e533c0931d9f8:

Ticket change [77d59600aa] - Ticket [3609575fffffffff|3609575fff] <i>sha256 output is wrong on 32bit Linux </i> status still Pending with 4 other changes by ferrieux on 2013-04-01 03:58:08.
D 2013-04-01T03:58:08
J icomment A\scursory\slook\sat\sthe\scode\sreveals\sthe\suse\sof\sconstants\slike\sthis:\n\n\s\s\s\sexpr\s{int(0xc1059ed8)}\n\nBut\ssince\sint()\sis\sthe\stricky,\splatform-dependent\s"truncate\sto\smachine\sword"\soperator,\sits\sresult\s(and\ssign\sextension\sthereof,\sin\sthis\sspecific\scase)\swill\ssuffer\swhen\smoving\sfrom\s32\sto\s64\sbits\sarchitectures.\nI'd\srisk\sthat\susing\swide()\sinstead\sof\sint()\sthroughout\sthe\spackage\sshould\smake\sit\srobustly\sbehave\slike\sthe\s64-bit\sversion\s(which\sis\ssupposed\sto\sbe\sthe\sgood\sone\saccording\sto\sthis\sreport).\n\n\n
J login ferrieux
J mimetype text/plain
J username ferrieux
K 3609575fffffffffffffffffffffffffffffffff
U ferrieux
Z a35dcd4f45030863b180eb5c887e54ba