code to move most of the common code to a single routine.
[ISC-Bugs #21171].
+- Two identical log messages for commit_leases() have been disambiguated.
+ [ISC-Bugs #18915]
+
Changes since 4.2.0b2
- Add declaration for variable in debug code in alloc.c. [ISC-Bugs #21472]
We need to do this even if we're rewriting the file below,
just in case the rewrite fails. */
if (fflush (db_file) == EOF) {
- log_info ("commit_leases: unable to commit: %m");
+ log_info ("commit_leases: unable to commit, fflush(): %m");
return 0;
}
if (fsync (fileno (db_file)) < 0) {
- log_info ("commit_leases: unable to commit: %m");
+ log_info ("commit_leases: unable to commit, fsync(): %m");
return 0;
}