Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 86b7b3f0ef71961384eecfc3e1f9bcfff3722c2e8339c3532648ddafba138a76
Ticket: 49538c09c8d7e93ab4375a41023c6c293f01cb5e
TclUnixWaitForFile: infinite wait reads uninitialized "now" and may return early
User & Date: serhiy.storchaka on 2026-09-25 17:39:09
Changes

  1. icomment:
    Proposed fix in [65772037dd] (branch unix-waitforfile-infinite-wait): use <code>while (1)</code> with an explicit timeout check, as in the macOS version. New test event-13.9 interrupts an infinite wait with <code>testalarm</code>; without the fix the wait returns early.
    
  2. login: "serhiy.storchaka"
  3. mimetype: "text/x-fossil-wiki"