Overview
| Artifact ID: | 2dab10e6db7ead25b355b95d12e3b92530f0f1ea5a5553267f0999d60ee62544 |
|---|---|
| Ticket: | aaa84fbbc59fc039788c080a8cd32d2f73316db9
zipfs info on mountpoint of executable returns zero offset in field 4 |
| User & Date: | apnadkarni on 2024-12-01 15:49:59 |
Changes
- icomment:
Julian, Your patch is now merged into the apn-julian-zipfs-patch branch. No test failures and some basic experimentation (without passwords or other preambles) shows zipfs info returning correct values. One question I had was with regard to the use of zip -A. As Jan also mentioned in the [other](https://core.tcl-lang.org/tcl/tktview/fc65ff1b663fd16e7582) related ticket, the image built with zip -A shows no warning with `unzip -l` ``` apnadkarni@IO:~/tcl/9.0.0/bin$ unzip -l /home/apnadkarni/tcl/9.0.0/lib/libtcl9.0.so | head Archive: /home/apnadkarni/tcl/9.0.0/lib/libtcl9.0.so Length Date Time Name --------- ---------- ----- ---- 0 2024-10-05 19:12 tcl_library/ 22932 2024-08-28 22:04 tcl_library/auto.tcl ``` On the other hand, the image (x) built with `zipfs mkimg` spits out a warning. ``` apnadkarni@IO:/mnt/c/src/tcltk/wip/tcl/unix/build$ unzip -l x | head Archive: x warning [x]: 2320048 extra bytes at beginning or within zipfile (attempting to process anyway) Length Date Time Name --------- ---------- ----- ---- 22932 2024-10-30 17:08 mnt/c/src/tcltk/wip/tcl/unix/build/libtcl.vfs/tcl_library/auto.tcl 60508 2024-12-01 17:54 mnt/c/src/tcltk/wip/tcl/unix/build/libtcl.vfs/tcl_library/clock.tcl ``` The Windows build, which uses minizip, not zip -A, also shows the same warning. So my question is really, changing to using zipfs mkimg as you suggest (as equivalent to cat file >> stub.exe) in place of zip -A would result in unzip warnings, wouldn't it? Is aiming for compatibility with a variety of tools feasible? - login: "apnadkarni"
- mimetype: "text/x-markdown"