agendafs
A filesystem for your calendar.
git clone git://mccd.space/agendafscommit 36cda2751f1d22e9db45e3753a688a82ae5ecbea
parent 3422aee823ad263b78f8c443f18be21e35152d60
Author: Marc Coquand <marc@coquand.email>
Date: Fri, 11 Jul 2025 10:26:12 +0200
Comment
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/main.c b/main.c
@@ -542,6 +542,8 @@ watch_ics_dir(void *arg)
while (1) {
ssize_t length = read(fd, buffer, EVENT_BUF_LEN);
+
+ // No event, sleep and check again
if (length < 0) {
if (errno == EAGAIN || errno == EINTR) {
usleep(100000);