.
D 2001-07-23T22:34:35
J assignee nobody
J cmimetype text/plain
J comment The\smalloc/ckalloc\sroutines\ssuch\sas\stcl_Allooc\sare\sdefined\swith\sthe\ssize\svariable\sexplicitly\sset\sto\s\n"unsigned\sint".\s\sThey\sshould\sbe\sset\sto\s"size_t"\s(typdef\sin\sstdlib.h).\s\sWhen\sbuilt\son\sa\s64\sbit\splatform\s\nsuch\sas\sDEC\sTRU-64\sor\sSolaris\s8\s(64\sbit\smode),\sthis\sdefinition\scauses\sthe\sprograms\sto\sbuild\s\nimproperly.\sThere\swere\salso\susages\sof\sstrncmp\sand\ssizeof\sthat\swere\scoded\sas\sif\sthey\swere\s\nexpected\sto\sreturn\s"unsigne\sint"\sinstead\sof\s"size_t"\s(unsigned\slong).\n\nCompiled\swith\sgcc\s3.0\sas\swell\sas\sSolaris\s8\sWorkshop\s6.0\scc\sand\sDEC\sV5.1\scc\n\n
J foundin obsolete:\s8.3.3
J priority 5\sMedium
J resolution None
J status Open
J submitter nobody
J subsystem 07.\sVariables
J title malloc\sroutines\suse\swrong\scast
J type Bug
K 443938ffffffffffffffffffffffffffffffffff
U nobody
Z 3a460105a04749c992889b00ccc92a79