Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

std.Build.Watch: fix kqueue implementation #23247

Merged
merged 1 commit into from
Mar 15, 2025
Merged

std.Build.Watch: fix kqueue implementation #23247

merged 1 commit into from
Mar 15, 2025

Conversation

kristoff-it
Copy link
Member

The code did one useless thing and two wrong things:

  • ref counting was basically a noop
  • last_dir_fd was chosen from the wrong index and also under the wrong condition

This caused regular crashes on macOS which are now gone.

The code did one useless thing and two wrong things:

- ref counting was basically a noop
- last_dir_fd was chosen from the wrong index and also under the wrong
  condition

This caused regular crashes on macOS which are now gone.
@mlugg mlugg enabled auto-merge (rebase) March 14, 2025 18:21
@kristoff-it kristoff-it changed the title std.Build.Watch: fix macos implementation std.Build.Watch: fix kqueue implementation Mar 14, 2025
@mlugg mlugg added this to the 0.14.1 milestone Mar 14, 2025
@mlugg mlugg merged commit 11b49e9 into master Mar 15, 2025
16 of 18 checks passed
@mlugg mlugg deleted the fix-watch-macos branch March 15, 2025 05:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants