Skip to content
Tcl Source Code Artifact [30e7f8ebae]
Login

Artifact [30e7f8ebae]

Artifact 30e7f8ebaebfebe2184a5cf1c067fc195f650df0:

Ticket change [30e7f8ebae] - Ticket [507083ffffffffff|507083ffff] <i>TIP 59 Implementation</i> status still Open with 5 other changes by dgp on 2002-02-05 07:57:22.
D 2002-02-05T07:57:22
J assignee andreas_kupries
J icomment Logged\sIn:\sYES\s\nuser_id=80530\n\nMissing\sdocumentation\sand\stests,\sof\scourse.\n\nThe\sMakefile.in\sdefinitions\sof\sINSTALL_PREFIX,\nINSTALL_EXEC_PREFIX,\sRUNTIME_EXEC_PREFIX\sdo\nnot\sappear\sto\sbe\sbulletproof.\s\sConsider\sthe\seffects\nof\sconfigure\soptions\s--libdir=\sor\s--includedir=\sor\na\svalue\sof\sTCL_PACKAGE_PATH\sthat\sconsists\sof\smore\nthan\sone\sdirectory.\n\nThe\sTIP\ssays\sthe\sarray\sof\sTcl_Config\svalues\sis\nterminated\swith\san\sempty\skey,\sbut\sit\sappears\sthat\na\sNULL\scharacter\spointer\sis\sused\sinstead.\s\sClarify\nthat\swhen\sdocs\sare\swritten.\n\nI\snote\sthat\sall\svalues\sare\srequired\sto\shave\sthe\nsame\sencoding.\s\sI\sthink\sthat's\sOK,\sbut\sit\sis\sa\nlimitation.\n\n"optimized"\sis\sstored\sas\sa\sboolean\sflag,\sbut\san\ninteger\sdescribing\svarious\slevels\sof\soptimization\nmay\smatch\sthe\spossibilities\sbetter.\n\nIf\sline\swrapping\sat\s72\scolumns\sis\snot\spart\sof\sthe\nTcl\sEngineering\sManual,\sit\sshould\sbe.\n\nThe\sTcl_Config\sarray\sis\snot\scopied\sby\sTcl_RegisterConfig;\ninstead\sa\spointer\sto\sit\sis\skept,\sso\sit\sneeds\sto\sbe\ndocumented\sthat\sthe\scaller\sof\sTcl_RegisterConfig\scannot\nallow\sthat\svalue\sto\sgo\saway.\s\sThe\sTcl_Config\sarray\sought\nto\sbe\sstatic.\n\nWhen\screating\sthe\s"wrap"\sto\sbe\sused\sas\sClientData\sfor\nthe\s[pkgconfig]\scommand,\sit\smakes\smore\ssense\sto\sme\sto\nallocate\sspace\sfor\sn\s(Tcl_Obj\s*)'s\srather\sthan\sn\s(char\s*)'s\neven\sthough\sit\stechnically\sdoesn't\smake\sany\sdifference.\n\nTcl_Alloc\sand\sTcl_Free\sshould\snot\sbe\sused.\s\sUse\sckalloc\nand\sckfree\sinstead\sso\sthat\sthey\sare\sincluded\sin\sany\nmemory\sdebugging.\n\nProbably\sshould\shave\sa\sbetter\spanic\smessage\sthan\n"This\scan't\shappen".\s\sAt\sleast\sinclude\sthe\sname\sof\nthe\sprocedure.\n\nOtherwise\sthe\simplementation\s(at\sleast\sthe\sUnix\sparts)\nappear\sto\sdo\swhat's\sspecified\sin\sTIP\s59.\s\sAs\srecognized\nin\sthat\sTIP,\sthough,\sthat's\sjust\sone\sstep\stoward\swhat\nwe\sneed.\n
J login dgp
J mimetype text/plain
J username dgp
K 507083ffffffffffffffffffffffffffffffffff
U dgp
Z e54368c8edb73eabd9790a635c55eadf