aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2016-08-12 14:46:10 +0300
committerSergey Poznyakoff <gray@gnu.org.ua>2016-08-12 16:17:45 +0300
commitde0a2f0f8abdac9596db9c44c788b3acdcac39f4 (patch)
tree14acc8bf3a87a0a359fcf38a3f11963693994e10
parentaff5ae79c0ccf6b38d55a4b86fb1c851b57c62e6 (diff)
downloaddirevent-de0a2f0f8abdac9596db9c44c788b3acdcac39f4.tar.gz
direvent-de0a2f0f8abdac9596db9c44c788b3acdcac39f4.tar.bz2
Version 5.1.90
* NEWS: Update. * configure.ac: Update. * src/watcher.c (setwatcher): Fix conditional. * src/direvent.h (dirwatcher_pattern_match): Add missing prototype.
-rw-r--r--NEWS5
-rw-r--r--README2
-rw-r--r--configure.ac2
-rw-r--r--src/direvent.h2
-rw-r--r--src/watcher.c2
5 files changed, 9 insertions, 4 deletions
diff --git a/NEWS b/NEWS
index cf85299..d1cf372 100644
--- a/NEWS
+++ b/NEWS
@@ -1,2 +1,2 @@
-direvent -- history of user-visible changes. 2016-07-06
+direvent -- history of user-visible changes. 2016-08-12
Copyright (C) 2012-2016 Sergey Poznyakoff
@@ -6,2 +6,5 @@ Please send direvent bug reports to <bug-direvent@gnu.org.ua>
+Version 5.1.90 (Git)
+
+
Version 5.1, 2016-07-06
diff --git a/README b/README
index 3526276..5b53b7b 100644
--- a/README
+++ b/README
@@ -62,3 +62,3 @@ at http://direvent.man.gnu.org.ua.
-Copyright (C) 2012-2014 Sergey Poznyakoff
+Copyright (C) 2012-2016 Sergey Poznyakoff
diff --git a/configure.ac b/configure.ac
index 07da598..2b5677a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -17,3 +17,3 @@
AC_PREREQ([2.69])
-AC_INIT([GNU Direvent], [5.1], [bug-direvent@gnu.org.ua], [direvent],
+AC_INIT([GNU Direvent], [5.1.90], [bug-direvent@gnu.org.ua], [direvent],
[http://www.gnu.org.ua/software/direvent])
diff --git a/src/direvent.h b/src/direvent.h
index 0f1dc92..4f4eaa9 100644
--- a/src/direvent.h
+++ b/src/direvent.h
@@ -211,2 +211,4 @@ void dirwatcher_unref(struct dirwatcher *dw);
+int dirwatcher_pattern_match(struct dirwatcher *dwp, const char *file_name);
+
void setup_watchers(void);
diff --git a/src/watcher.c b/src/watcher.c
index afac389..7275640 100644
--- a/src/watcher.c
+++ b/src/watcher.c
@@ -336,3 +336,3 @@ setwatcher(struct hashent *ent, void *data)
watch_subdirs(dwp, 0);
- if (dwp->wd)
+ if (dwp->wd >= 0)
*success = 1;

Return to:

Send suggestions and report system problems to the System administrator.