GNU bug report logs - #21432
25.0.50; file-notify-rm-watch (inotify) errors if watched dir is deleted

Previous Next

Package: emacs;

Reported by: Tassilo Horn <tsdh <at> gnu.org>

Date: Tue, 8 Sep 2015 06:37:01 UTC

Severity: normal

Found in version 25.0.50

Done: Michael Albinus <michael.albinus <at> gmx.de>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: michael.albinus <at> gmx.de
Cc: 21432 <at> debbugs.gnu.org, tsdh <at> gnu.org
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 <at> gnu.org>
> Cc: 21432 <at> debbugs.gnu.org, tsdh <at> 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.




This bug report was last modified 9 years and 246 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.