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: Michael Albinus <michael.albinus <at> gmx.de>
To: Eli Zaretskii <eliz <at> gnu.org>
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: Tue, 15 Sep 2015 15:02:01 +0200
Eli Zaretskii <eliz <at> 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.




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.