diff options
author | Sergey Poznyakoff <gray@gnu.org> | 2020-04-22 11:14:40 +0300 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org> | 2020-04-22 11:14:40 +0300 |
commit | db5b8989ceefb9f1889219067be6d68651a4da2c (patch) | |
tree | a4051da0625d89a631bf3dead4dc43be7d815be5 /tests | |
parent | 9d7ec5d8cc6ca98b3abb3fc67bf4292faba7e2d6 (diff) | |
download | wydawca-db5b8989ceefb9f1889219067be6d68651a4da2c.tar.gz wydawca-db5b8989ceefb9f1889219067be6d68651a4da2c.tar.bz2 |
Avoid double-checking of the directive files. Fix triplet expiration.
* doc/wydawca.texi: Document the default value for file-sweep-time.
* src/config.c (parse_single_statmask): Remove the invert pointer.
(parse_statmask): Reflect the above.
(config_finish): Ensure safe value for file_sweep_time.
* src/triplet.c (register_file): Initialize the directive_verified
member.
(triplet_expired_p): No special handling for ttl==0.
* src/verify.c (verify_directive_file): Cache the result in
trp->directive_verified.
* src/wydawca.c (file_sweep_time): Initialize to DEFAULT_FILE_SWEEP_TIME.
* src/wydawca.h (DEFAULT_FILE_SWEEP_TIME): New constant.
(DIRECTIVE_UNCHECKED,DIRECTIVE_GOOD)
(DIRECTIVE_BAD): New constants.
(struct wy_triplet): New member: directive_verified.
* tests/cwdrepl.c: Fix a prematurely closed comment.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/cwdrepl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/cwdrepl.c b/tests/cwdrepl.c index 9394520..85ee4ad 100644 --- a/tests/cwdrepl.c +++ b/tests/cwdrepl.c @@ -40,7 +40,7 @@ LICENSE GNU General Public License for more details. You should have received a copy of the GNU General Public License along - with this program. If not, see <http://www.gnu.org/licenses/>. */ + with this program. If not, see <http://www.gnu.org/licenses/>. HISTORY |