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

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

bug#21432: 25.0.50; file-notify-rm-watch (inotify) errors if watched dir


From: Michael Albinus
Subject: bug#21432: 25.0.50; file-notify-rm-watch (inotify) errors if watched dir is deleted
Date: Tue, 15 Sep 2015 15:02:01 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

Eli Zaretskii <eliz@gnu.org> writes:

> I find the way inotify.c and gfilenotify.c report errors suboptimal:
> they don't report the errno value and the related data, so the error
> messages tell less than they could.  I went the way similar to
> report_file_error instead.  Maybe the other back-ends should follow
> suit.

I've changed it in inotify.c. I've simply cloned your
report_w32notify_error, called it report_inotify_error, and adapted all
error reporting places.

However, wouldn't it be better to have a common function the three
backends will use? A report_filenotify_error function in fileio.c?

Best regards, Michael.





reply via email to

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