GNU bug report logs - #18880
25.0.50; inotify-based file notifications missing sometimes

Previous Next

Package: emacs;

Reported by: Dima Kogan <dima <at> secretsauce.net>

Date: Wed, 29 Oct 2014 00:12:02 UTC

Severity: normal

Found in version 25.0.50

Fixed in version 24.5

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: Dima Kogan <dima <at> secretsauce.net>
Cc: 18880 <at> debbugs.gnu.org
Subject: bug#18880: 25.0.50; inotify-based file notifications missing sometimes
Date: Tue, 13 Jan 2015 11:29:52 +0100
Dima Kogan <dima <at> secretsauce.net> writes:

> The issue is that emacs doesn't ask inotify to look at the two files, it
> asks it to look at the containing directory (/tmp in both cases),
> filtering out all the files we don't care about later. inotify is being
> intelligent, notices that we're asking to monitor the same object twice
> (/tmp), and simply returns the same descriptor a second time. Emacs is
> assuming a unique descriptor, and the result is that we only get
> notifications for one file.

I've committed a patch to the emacs-24 branch; could you, please, check?

Best regards, Michael.




This bug report was last modified 10 years and 98 days ago.

Previous Next


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