diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2016-08-12 14:46:10 +0300 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2016-08-12 16:17:45 +0300 |
commit | de0a2f0f8abdac9596db9c44c788b3acdcac39f4 (patch) | |
tree | 14acc8bf3a87a0a359fcf38a3f11963693994e10 | |
parent | aff5ae79c0ccf6b38d55a4b86fb1c851b57c62e6 (diff) | |
download | direvent-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-- | NEWS | 5 | ||||
-rw-r--r-- | README | 2 | ||||
-rw-r--r-- | configure.ac | 2 | ||||
-rw-r--r-- | src/direvent.h | 2 | ||||
-rw-r--r-- | src/watcher.c | 2 |
5 files changed, 9 insertions, 4 deletions
@@ -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 @@ -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; |