[PATCH v3] server: support inotify file change notifications on FreeBSD
3 Dec
2021
3 Dec
'21
4:37 p.m.
The inotify code uses the Linux-specific /proc/self/fd/<FD> symlinks to translate file descriptors to filesystem paths. On FreeBSD, do this translation using its own sysctl instead. Try 3 makes the mib variable in fd_path() non-static, and moves the fd_path() functions into the HAVE_SYS_INOTIFY_H block where they should be invisible on MacOS. Signed-off-by: Damjan Jovanovic <damjan.jov(a)gmail.com> --- server/change.c | 132 ++++++++++++++++++++++++++++++++++++++++-------- 1 file changed, 111 insertions(+), 21 deletions(-)
1472
Age (days ago)
1472
Last active (days ago)
0 comments
1 participants
participants (1)
-
Damjan Jovanovic