[Toybox] [PATCH] tail: support -f on BSD too.
enh
enh at google.com
Thu May 23 16:30:01 PDT 2019
Factor out the inotify code and add a kqueue equivalent.
Specifically tested on macOS 10.14, but I assume this works for other
BSDs too, given that I worked from the FreeBSD man page...
---
lib/notify.c | 87 +++++++++++++++++++++++++++++++++++++++++++++++
lib/portability.h | 5 +++
toys/posix/tail.c | 31 +++++------------
3 files changed, 101 insertions(+), 22 deletions(-)
create mode 100644 lib/notify.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-tail-support-f-on-BSD-too.patch
Type: text/x-patch
Size: 5067 bytes
Desc: not available
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20190523/7154482f/attachment-0002.bin>
More information about the Toybox
mailing list