Overview
| Artifact ID: | d562ba21e305c6cee66c97acca77dc58196aae915a14d1d3dd1284d378c94f01 |
|---|---|
| Ticket: | 894e11d7f73023089a8ff2c3575a88429d17ec7c
Unix make test does not test embedded zip configuration |
| User & Date: | apnadkarni on 2023-10-12 06:42:49 |
Changes
- icomment:
I have traced through and do not see anything suspicious about the read data or counts. **After tclsh is at the command prompt**, set a break point at ZipChannelOpen and ZipChannelRead. Then ran the command ``` encoding convertfrom tis-620 \xa1 ``` * ZipChannel{Open,Read} called multiple times for different files (tclIndex etc.). * Eventually invoked for tis-620.enc, the read request (ZipChannelRead.toRead) is for 4096 bytes. ZipChannelRead then returns the entire 1092 bytes of the file. * After processing the header lines, LoadTableEncoding calls Tcl_Read(toRead=1043)->DoReadChars(toRead=1043)->ReadChars. This returns 1043 bytes as expected. The first thing then is if to check if `file size //zipfs:/app/tcl_library/encoding/tis-620.enc` returns 1092 or not. If not, that would point to either the zipping or unzipping code. If it does return the correct size, then the channel related code needs to be looked at. Also, since I cannot reproduce the failure, I suggest you upload your libtcl*.zip file somewhere that I can download (let me know which branch or commit). Just in case, I'll be able to reproduce the failure with that. - login: "apnadkarni"
- mimetype: "text/x-markdown"