summaryrefslogtreecommitdiff
path: root/sysutils/inotify-tools/files/patch-src_inotifywatch.c
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2020-01-31 05:46:34 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2020-01-31 05:46:34 +0000
commitd76dacd7630f4745f72ce45e4f0a6ce8ba49615c (patch)
tree33229d2ea41c2816190e5d59a4747f03cb66a315 /sysutils/inotify-tools/files/patch-src_inotifywatch.c
parentUpdate to the latest att/ast github commit. (diff)
sysutils/inotify-tools: Update 3.20.1 -> 3.20.2
inotify-tools has a new maintainer, changed to his fork.
Notes
Notes: svn path=/head/; revision=524672
Diffstat (limited to 'sysutils/inotify-tools/files/patch-src_inotifywatch.c')
-rw-r--r--sysutils/inotify-tools/files/patch-src_inotifywatch.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/sysutils/inotify-tools/files/patch-src_inotifywatch.c b/sysutils/inotify-tools/files/patch-src_inotifywatch.c
index 4e9004713a42..dfc768d6c927 100644
--- a/sysutils/inotify-tools/files/patch-src_inotifywatch.c
+++ b/sysutils/inotify-tools/files/patch-src_inotifywatch.c
@@ -1,4 +1,4 @@
---- src/inotifywatch.c.orig 2018-01-06 11:10:51 UTC
+--- src/inotifywatch.c.orig 2020-01-30 00:04:48 UTC
+++ src/inotifywatch.c
@@ -12,6 +12,9 @@
#include <errno.h>
@@ -21,7 +21,7 @@
signal(SIGINT, handle_impatient_user);
// Parse commandline options, aborting if something goes wrong
-@@ -110,11 +117,27 @@ int main(int argc, char **argv) {
+@@ -110,10 +117,26 @@ int main(int argc, char **argv) {
return EXIT_FAILURE;
}
@@ -41,11 +41,10 @@
warn_inotify_init_error();
return EXIT_FAILURE;
}
-
++
+#ifdef __FreeBSD__
+ pthread_sigmask(SIG_SETMASK, &oset, NULL);
+#endif // __FreeBSD__
-+
+
// Attempt to watch file
// If events is still 0, make it all events.
- if (!events)