summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2014-09-09 12:24:37 +0100
committerColin Watson <cjwatson@debian.org>2014-09-11 12:53:28 +0100
commit8cabdfbf42bdb94bdc500ae4463d0e498349946f (patch)
tree1a5153560a87ceecfde9048d862c185a63efe267 /NEWS
parentd9ebedad152816ea2ee8725a0ee1b0f80f7aeb46 (diff)
Use high-precision timestamps for manual pages
* lib/util.c (is_changed): Compare high-precision timestamps. * libdb/db_storage.h (FIELDS): Increment to 10. (struct mandata): Change "time_t _st_mtime" to "struct timespec mtime". * libdb/db_lookup.c (dbprintf): Update mtime display. (split_content): Store two fields for the mtime (seconds and nanoseconds). (make_content): Expect two fields for the mtime. * libdb/db_store.c (replace_if_necessary): Compare high-precision timestamps. * src/check_mandirs.c (test_manfile): Likewise. * src/man.c (maybe_update_file): Likewise. * src/straycats.c (check_for_stray): Update initialisation of struct mandata. * src/tests/testlib.sh (accessdb_filter): Adjust for new format. * manual/db.me (Contents of an index database): Describe new format. (Example database): Update example output. * NEWS: Document this.
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS3
1 files changed, 3 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 71f52191..53e9880f 100644
--- a/NEWS
+++ b/NEWS
@@ -23,6 +23,9 @@ Major changes since man-db 2.6.7.1:
high-precision timestamps to determine whether it needs to update
databases.
+ o Timestamps of manual pages are also now stored in the database
+ with high precision and compared accordingly.
+
man-db 2.6.7.1 (10 April 2014)
==============================