Posted to tcl by oldlaptop at Sat Jul 04 17:28:50 GMT 2026view raw

  1. $ fossil diff
  2. Index: unix/tclKqueueNotfy.c
  3. ==================================================================
  4. --- unix/tclKqueueNotfy.c
  5. +++ unix/tclKqueueNotfy.c
  6. @@ -638,11 +638,11 @@
  7. /*
  8. * Set up the timeout structure. Note that if there are no events to check
  9. * for, we return with a negative result rather than blocking forever.
  10. */
  11.  
  12. - if (time > 0) {
  13. + if (time != 0) {
  14. timeout.tv_sec = time / 1000000;
  15. timeout.tv_usec = time % 1000000;
  16. timeoutPtr = &timeout;
  17. } else {
  18. timeoutPtr = NULL;
  19.  
  20.  

Add a comment

Please note that this site uses the meta tags nofollow,noindex for all pages that contain comments.
Items are closed for new comments after 1 week