<i>signatures of strpbrk() and strtok() in "compat/string.h" co</i>.
by
.
D 2000-10-26T01:10:57
J assignee nobody
J cmimetype text/plain
J comment OriginalBugID:\s6020\sBug\nVersion:\s8.4a1\nSubmitDate:\s'2000-07-18'\nLastModified:\s'2000-07-18'\nSeverity:\sLOW\nStatus:\sReleased\nSubmitter:\stechsupp\nChangedBy:\sericm\nOS:\sAll\sUnix\nOSVersion:\sSunOS\s4.1.3_U1\nFixedDate:\s'2000-07-18'\nFixedInVersion:\s8.4a2\nClosedDate:\s'2000-10-25'\n\n\nName:\nQ.\sAlex\sZhao\n\nComments:\nMaybe\sthis\sis\sa\sproblem\swith\sTclX,\sI'm\snot\ssure.\n\nReproducibleScript:\nIn\s"compact/string.h":\n\nextern\schar\s*\s\s\s\s\s\s\s\s\s\s\sstrpbrk\s_ANSI_ARGS_((CONST\schar\s*string,\schar\s*chars));\nextern\schar\s*\s\s\s\s\s\s\s\s\s\s\sstrtok\s_ANSI_ARGS_((CONST\schar\s*s,\sCONST\schar\s*delim));\n\nThese\sare\sin\scontrary\sto\sthe\ssystem\sdelarations.\n\nObservedBehavior:\nThis\sprevented\sTclX\sto\scompile\son\sSunOS\s4\swith\segcs-1.1.2.\n\nDesiredBehavior:\nSuccessful\scompilation.\n\nThe\scorrect\ssignatures\sshould\sbe:\n\nextern\schar\s*\s\s\s\s\s\s\s\s\s\s\sstrpbrk\s_ANSI_ARGS_((CONST\schar\s*string,\sCONST\schar\s*chars));\nextern\schar\s*\s\s\s\s\s\s\s\s\s\s\sstrtok\s_ANSI_ARGS_((char\s*s,\sCONST\schar\s*delim));\n\n\n\nMy\s"POSIX\sProgrammer's\sGuide"\sand\sthe\sLinux\sman\spages\sagree,\sthe\sdefinitions\sshould\sbe\sas\sshown\shere.\s\sI\scorrected\sthe\ssources\sand\scommitted\sthe\schange\sto\sthe\sCVS\srepository.\s\sThe\sfix\swill\sgo\sout\swith\sTcl\s8.4a2.\s\sThanks\sfor\sfinding\sthis\sbug!\n\n\s\s\sEric\sMelski\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sThe\sOther\sTcl\sGuy\n\s\s\sericm\sat\sajubasolutions.com\s\s\s\s\s\s\s\s\s\s\s\sAjuba\sSolutions\n\n--\s07/18/2000\sericm\n\n
J foundin obsolete:\s8.4a1
J priority 5\sMedium
J resolution None
J status Open
J submitter nobody
J subsystem 75.\sTutorial
J title signatures\sof\sstrpbrk()\sand\sstrtok()\sin\s"compat/string.h"\sco
J type Bug
K 219111ffffffffffffffffffffffffffffffffff
U nobody
Z 341f7e6bb0196730038f8b69910f12b6