From 82fcc232ce467d91557704deea7fa0fe834b2aed Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Wed, 27 Mar 2024 14:37:00 -0700 Subject: [PATCH] inotifyd: enable line buffering. Since the point here is to get a notification for every event, and there's one line per event, line buffering is the right choice. --- toys/other/inotifyd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/toys/other/inotifyd.c b/toys/other/inotifyd.c index 3dc66025..21f57c82 100644 --- a/toys/other/inotifyd.c +++ b/toys/other/inotifyd.c @@ -5,7 +5,7 @@ * * No Standard. -USE_INOTIFYD(NEWTOY(inotifyd, "<2", TOYFLAG_USR|TOYFLAG_BIN)) +USE_INOTIFYD(NEWTOY(inotifyd, "<2", TOYFLAG_USR|TOYFLAG_BIN|TOYFLAG_LINEBUF)) config INOTIFYD bool "inotifyd" -- 2.39.2