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: Eli Zaretskii
Subject: bug#21432: 25.0.50; file-notify-rm-watch (inotify) errors if watched dir is deleted
Date: Mon, 14 Sep 2015 10:35:28 +0300

> Date: Sat, 12 Sep 2015 18:11:37 +0300
> From: Eli Zaretskii <eliz@gnu.org>
> Cc: 21432@debbugs.gnu.org, tsdh@gnu.org
> 
> > Last point, I've observed that inotify and gfilenotify raise a
> > `file-notify-error' when needed. w32notify raises a `file-error'.
> > Shouldn't it raise also `file-notify-error'?.
> 
> Yes, it should.

I've done that now.

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.





reply via email to

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