Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 04a4db48fc81da939784b259302ab4e78faf451a0e0a479625a6000412dadef8
Ticket: 6f8bbbb34bf84bf0032c9f647e7e480e4ad03904
kqueue notifier hangs on OpenBSD
User & Date: stu on 2026-07-04 18:20:17
Changes

  1. closer changed to: "nobody"
  2. icomment:
    Tests pass with this patch, inspired by unix/tclEpollNotfy.c.
    
    Index: unix/tclKqueueNotfy.c
    --- unix/tclKqueueNotfy.c.orig
    +++ unix/tclKqueueNotfy.c
    @@ -640,7 +640,7 @@ TclpWaitForEvent(
          * for, we return with a negative result rather than blocking forever.
          */
     
    -    if (time > 0) {
    +    if (time >= 0) {
            timeout.tv_sec = time / 1000000;
            timeout.tv_usec = time % 1000000;
            timeoutPtr = &timeout;
    
  3. login: "stu"
  4. mimetype: "text/plain"
  5. resolution changed to: "None"
  6. status changed to: "Open"