GNU bug report logs - #22736
25.0.91; file-notify calls wrong callbacks

Previous Next

Package: emacs;

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

Date: Thu, 18 Feb 2016 19:06:02 UTC

Severity: normal

Found in version 25.0.91

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: Tassilo Horn <tsdh <at> gnu.org>
Cc: 22736 <at> debbugs.gnu.org
Subject: bug#22736: 25.0.91; file-notify calls wrong callbacks
Date: Thu, 18 Feb 2016 22:09:18 +0200
> From: Tassilo Horn <tsdh <at> gnu.org>
> Date: Thu, 18 Feb 2016 20:04:40 +0100
> 
> The problem is that when there is a directory watch on some directory
> and a file watch on a file in that directory, the callback for the
> directory watch gets an event with the descriptor of the file watch.

I think this is because when you ask to watch a file, we actually
watch its parent directory.




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

Previous Next


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