Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 4e4072061634ac8d25a43d721663aaa77f784545e79d0356b0506ceee359b276
Ticket: 0654cecae10ba0762303c77b114bd3871f4ecc09
file copy from zipfs does not terminate
User & Date: serhiy.storchaka on 2026-10-12 16:53:43
Changes

  1. foundin changed to: "9.0.5, 9.1.0"
  2. icomment:
    Still happens in 9.0 and 9.1: the watch proc of zipfs channels does nothing,
    so <code>fileevent</code> handlers never fire and <code>fcopy -command</code>
    from a zipfs file never copies anything.
    
    Proposed fix in branch [/timeline?r=zipfs-channel-events|zipfs-channel-events]:
    a zipfs channel is always ready, so while it is watched a zero-delay timer
    notifies the channel, as for the zlib transform and reflected transforms.
    
    The AndroWish fix uses a per-thread event source and a table of watched
    channels instead. It delivers real file events, but needs much more code and
    per-thread data that has to be handled carefully at thread exit (its second
    check-in fixes that). Both need a thread action proc for channel transfer
    between threads; the branch adds one that cancels the timer.
    
  3. login: "serhiy.storchaka"
  4. mimetype: "text/x-fossil-wiki"