Skip to content
Tcl Source Code Artifact [d562ba21e3]
Login

Artifact [d562ba21e3]

Artifact d562ba21e305c6cee66c97acca77dc58196aae915a14d1d3dd1284d378c94f01:

Ticket change [d562ba21e3] - Ticket [894e11d7f7302308|894e11d7f7] <i>Unix make test does not test embedded zip configuration</i> status still Open with 3 other changes by apnadkarni on 2023-10-12 06:42:49.
D 2023-10-12T06:42:49.749
J icomment I\shave\straced\sthrough\sand\sdo\snot\ssee\sanything\ssuspicious\sabout\sthe\sread\sdata\sor\scounts.\s**After\stclsh\sis\sat\sthe\scommand\sprompt**,\sset\sa\sbreak\spoint\sat\sZipChannelOpen\sand\sZipChannelRead.\sThen\sran\sthe\scommand\r\n\r\n```\r\nencoding\sconvertfrom\stis-620\s\\xa1\r\n```\r\n\r\n*\sZipChannel{Open,Read}\scalled\smultiple\stimes\sfor\sdifferent\sfiles\s(tclIndex\setc.).\s\r\n\r\n*\sEventually\sinvoked\sfor\stis-620.enc,\sthe\sread\srequest\s(ZipChannelRead.toRead)\sis\sfor\s4096\sbytes.\sZipChannelRead\sthen\sreturns\sthe\sentire\s1092\sbytes\sof\sthe\sfile.\r\n\r\n*\sAfter\sprocessing\sthe\sheader\slines,\sLoadTableEncoding\scalls\sTcl_Read(toRead=1043)->DoReadChars(toRead=1043)->ReadChars.\sThis\sreturns\s1043\sbytes\sas\sexpected.\r\n\r\nThe\sfirst\sthing\sthen\sis\sif\sto\scheck\sif\s`file\ssize\s//zipfs:/app/tcl_library/encoding/tis-620.enc`\sreturns\s1092\sor\snot.\sIf\snot,\sthat\swould\spoint\sto\seither\sthe\szipping\sor\sunzipping\scode.\sIf\sit\sdoes\sreturn\sthe\scorrect\ssize,\sthen\sthe\schannel\srelated\scode\sneeds\sto\sbe\slooked\sat.\r\n\r\nAlso,\ssince\sI\scannot\sreproduce\sthe\sfailure,\sI\ssuggest\syou\supload\syour\slibtcl*.zip\sfile\ssomewhere\sthat\sI\scan\sdownload\s(let\sme\sknow\swhich\sbranch\sor\scommit).\sJust\sin\scase,\sI'll\sbe\sable\sto\sreproduce\sthe\sfailure\swith\sthat.
J login apnadkarni
J mimetype text/x-markdown
K 894e11d7f73023089a8ff2c3575a88429d17ec7c
U apnadkarni
Z e66f4fb3f07b85b87eca87c4d591b5a0