Skip to content
Tcl Source Code Artifact [610ba83d45]
Login

Artifact [610ba83d45]

Artifact 610ba83d45075d66575347fe4425fb9dc9a1c6cc:

Ticket change [610ba83d45] - Ticket [408840ffffffffff|408840ffff] <i>Patch for TIP 17</i> status still Open with 4 other changes by vincentdarley on 2001-05-08 16:46:08.
D 2001-05-08T16:46:08
J icomment \n\nFile\sAdded\s-\s6074:\stip17f.patch.gz\n\nLogged\sIn:\sYES\s\nuser_id=32170\n\nI'm\suploading\sa\snew\spatch\sand\snew\sdocumentation\swhich\s\naddress\sall\sissues\sin\sprivate\semail,\sand\sput\sthe\s\ndocumentation\sinto\sa\spretty\scomplete,\sfinal\sstate\s(except\s\nperhaps\sfor\sinadequacies\scaused\sby\smy\slack\sof\sknowledge\sof\s\nnroff).\n\nOn\sthe\stwo\sissues\sbelow:\n\n(i)\slibrary/init.tcl\n\nThis\serror\smessage\sis\sthere\sso\sthat\sa\scompletely\swrapped\s\nTcl\simplementation\s(e.g.\sa\sTclKit\sincluding\sthe\stcl\stest\s\nsuite)\scan\spass\sthe\stest\ssuite.\s\sWe\scould\seasily\sadd\sa\s\nbetter\serror\smessage\sto\sthe\scode\sin\sinit.tcl\s(in\sfact\sthe\s\nerror\smessage\sshould\salways\sbe\sabout\smoving\sa\sdirectory\s\ninto\sitself,\sI\sbelieve),\swhich\swould\sthen\srequire\schanges\s\nto\sthe\stest\ssuite,\sbut\sthe\sequivalent\scode\sin\stclFCmd.c\s\nonly\sdoes\sa\scheck\son\s'errno\s==\sEINVAL'\sand\sthen\sreports\s\nthat\serror\smessage.\s\sFor\sthe\ssake\sof\scompatibility\sand\s\nsimplicity,\sI\swould\ssuggest\sleaving\sthe\scode\sas\sis\sat\s\npresent.\s\sWe\scan\sfile\sa\sfeature\srequest\sagainst\sTcl\sthat\s\ninit.tcl\sand\stclFCmd.c\sshould\sbe\simproved\sto\sgive\sa\sbetter\s\nerror\smessage\sin\sthese\scases.\n\n(ii)\sTclpVerifyInitialEncodings.\n\nThis\sis\sactually\smentioned\sin\sTIP#17.\s\sIt\sis\srequired\sby\s\nany\sattempt\sto\scompletely\swrap\sup\sa\sTcl\sinstallation.\s\sThis\s\nis\sbecause\sin\sTcl's\sinit\ssequence,\san\sattempt\sis\smade\sto\s\nset\sup\sthe\sencodings\s*very*\searly,\swhich\swill\sfail.\s\sWe\s\nneed\sa\sway\sfor\sa\stclkit\sor\sprowrapped\sapp\sto\sset\sthe\s\nencodings\scorrectly.\s\sI've\snow\sre-done\sthis\scode\sso\sthat\s\nrather\sthan\sadding\sa\snew\sfunction,\sthe\s\nTclpSetInitialEncodings\scan\snow\sbe\scalled\smultiple\stimes,\s\nand\sis\sexported\sin\sthe\sstub\stable.\s\sThis\salso\savoids\s\nunnecessary\scode\sduplication.\n\np.s.\sI\salso\sam\snot\sgetting\scopies\sof\scomments.\n\np.p.s.\sIt\swould\sbe\sgood\sif\ssomeone\sdeletes\sthe\sold\spatch-\nuploads\shere.\s\sI\sdon't\sseem\sto\shave\sappropriate\spermissions.\n\np.p.p.s.\s\sThe\spatch\shas\sWindoze\sEOLs\n\n
J login vincentdarley
J mimetype text/plain
J username vincentdarley
K 408840ffffffffffffffffffffffffffffffffff
U vincentdarley
Z 06279b38db3de5dd37d31d213e53f704