From 7ece6c0d5bc34730a9a3c07813d9c4f44551b50c Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Mon, 2 Mar 2026 14:36:29 +0200 Subject: platform/bsd.h: Remove apple-ism --- platform/bsd.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/bsd.h b/platform/bsd.h index 7a03700..bf7530d 100644 --- a/platform/bsd.h +++ b/platform/bsd.h @@ -57,7 +57,7 @@ fs_watch(struct platform *p, const char *path) close(p->dfd); p->dfd = -1; } - p->dfd = open(path, O_EVTONLY); + p->dfd = open(path, O_RDONLY); if (p->dfd == -1) return; EV_SET(&p->ev, p->dfd, EVFILT_VNODE, EV_ADD|EV_CLEAR, -- cgit v1.2.3