[PATCH 7/7] server: use internal paths instead of /proc lookups for inotify
31 Oct
2021
31 Oct
'21
3:50 p.m.
The inotify code uses the /proc/self/fd/<FD> symlinks to translate file descriptors to filesystem paths. This is Linux-specific and unnecessary, as we already store the paths internally, in our 'struct fd'. Use those instead, which gets the file change notifications to also work on FreeBSD. Signed-off-by: Damjan Jovanovic <damjan.jov(a)gmail.com> --- server/change.c | 88 ++++++++++++++++++++++++------------------------- 1 file changed, 43 insertions(+), 45 deletions(-)
1505
Age (days ago)
1505
Last active (days ago)
0 comments
1 participants
participants (1)
-
Damjan Jovanovic