bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#57536: 28.1; filenotify problems on macOS with symbolic links to dir


From: Michael Albinus
Subject: bug#57536: 28.1; filenotify problems on macOS with symbolic links to directories
Date: Sat, 17 Sep 2022 15:27:45 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Eli Zaretskii <eliz@gnu.org> writes:

Hi Eli,

>> Yep. I guess you'll care about w32notify.c. and I'll check inotify.c,
>> kqueue.c and gfilenotify.c?
>
> Yes.

So everything is tested, the cases mentioned above as well as the remote
inotifywait and gio variants. Everything works as expected except
kqueue, where I get an EMLINK error when running file-notify-add-watch
on a symlink file. Needs further investigation, but unfortunately, while
testing, my FreeBSD 12 VM has crashed with an unrecoverable error. So I
need to install a new VM first.

Besides this, do we want to extend file notifications to follow symlinks
when indicated? As said already, we could add a new symbol `follow' to
be used in the FLAGS argument for that function. Implementation shall be
simple for inotify and w32notify; for the other backends it needs to be
investigated.

WDYT?

Best regards, Michael.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]