[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#26973: 26.0.50; sleep-for behavior changes with global-auto-revert-m
From: |
Andreas Politz |
Subject: |
bug#26973: 26.0.50; sleep-for behavior changes with global-auto-revert-mode enabled |
Date: |
Thu, 25 May 2017 11:45:22 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) |
I seems that the event flags used are to promiscuous and that this
prevents other processes from reading. Removing ACCESS, OPEN and
CLOSE events appears to rectify the situation.
diff --git a/src/inotify.c b/src/inotify.c
index 290701349e..d43b959747 100644
--- a/src/inotify.c
+++ b/src/inotify.c
@@ -41,7 +41,21 @@ along with GNU Emacs. If not, see
<http://www.gnu.org/licenses/>. */
#ifndef IN_ONLYDIR
# define IN_ONLYDIR 0
#endif
-#define INOTIFY_DEFAULT_MASK (IN_ALL_EVENTS | IN_EXCL_UNLINK)
+#define INOTIFY_DEFAULT_MASK \
+ (IN_ATTRIB | \
+ /* IN_ACCESS | */ \
+ /* IN_CLOSE_WRITE | */ \
+ /* IN_CLOSE_NOWRITE | */ \
+ IN_CREATE | \
+ IN_DELETE | \
+ IN_DELETE_SELF | \
+ IN_IGNORED | \
+ IN_MODIFY | \
+ IN_MOVE_SELF | \
+ IN_MOVED_FROM | \
+ IN_MOVED_TO | \
+ /* IN_OPEN | */ \
+ IN_EXCL_UNLINK)
/* File handle for inotify. */
static int inotifyfd = -1;
-ap
- bug#26973: 26.0.50; sleep-for behavior changes with global-auto-revert-mode enabled, (continued)
- bug#26973: 26.0.50; sleep-for behavior changes with global-auto-revert-mode enabled, Eli Zaretskii, 2017/05/20
- bug#26973: 26.0.50; sleep-for behavior changes with global-auto-revert-mode enabled, Dmitry Gutov, 2017/05/20
- bug#26973: 26.0.50; sleep-for behavior changes with global-auto-revert-mode enabled, Eli Zaretskii, 2017/05/20
- bug#26973: 26.0.50; sleep-for behavior changes with global-auto-revert-mode enabled, Dmitry Gutov, 2017/05/21
- bug#26973: 26.0.50; sleep-for behavior changes with global-auto-revert-mode enabled, Eli Zaretskii, 2017/05/22
- bug#26973: 26.0.50; sleep-for behavior changes with global-auto-revert-mode enabled, Dmitry Gutov, 2017/05/23
- bug#26973: 26.0.50; sleep-for behavior changes with global-auto-revert-mode enabled, Eli Zaretskii, 2017/05/24
- bug#26973: 26.0.50; sleep-for behavior changes with global-auto-revert-mode enabled, Michael Albinus, 2017/05/22
- bug#26973: 26.0.50; sleep-for behavior changes with global-auto-revert-mode enabled, Eli Zaretskii, 2017/05/22
- bug#26973: 26.0.50; sleep-for behavior changes with global-auto-revert-mode enabled, Michael Albinus, 2017/05/25
- bug#26973: 26.0.50; sleep-for behavior changes with global-auto-revert-mode enabled,
Andreas Politz <=
- bug#26973: 26.0.50; sleep-for behavior changes with global-auto-revert-mode enabled, Michael Albinus, 2017/05/26
- bug#26973: 26.0.50; sleep-for behavior changes with global-auto-revert-mode enabled, Dmitry Gutov, 2017/05/26
- bug#26973: 26.0.50; sleep-for behavior changes with global-auto-revert-mode enabled, Michael Albinus, 2017/05/27
bug#26973: 26.0.50; sleep-for behavior changes with global-auto-revert-mode enabled, Paul Eggert, 2017/05/26
- bug#26973: 26.0.50; sleep-for behavior changes with global-auto-revert-mode enabled, Andreas Politz, 2017/05/27
- bug#26973: 26.0.50; sleep-for behavior changes with global-auto-revert-mode enabled, Paul Eggert, 2017/05/27
- bug#26973: 26.0.50; sleep-for behavior changes with global-auto-revert-mode enabled, Andreas Politz, 2017/05/27
- bug#26973: 26.0.50; sleep-for behavior changes with global-auto-revert-mode enabled, Paul Eggert, 2017/05/27
- bug#26973: 26.0.50; sleep-for behavior changes with global-auto-revert-mode enabled, Andreas Politz, 2017/05/27
- bug#26973: 26.0.50; sleep-for behavior changes with global-auto-revert-mode enabled, Paul Eggert, 2017/05/28