mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-30 22:15:20 +00:00
4367. [bug] Remove unnecessary assignment of loadtime in
zone_touched. [RT #42440]
This commit is contained in:
3
CHANGES
3
CHANGES
@@ -1,5 +1,8 @@
|
|||||||
--- 9.11.0a1 released ---
|
--- 9.11.0a1 released ---
|
||||||
|
|
||||||
|
4367. [bug] Remove unnecessary assignment of loadtime in
|
||||||
|
zone_touched. [RT #42440]
|
||||||
|
|
||||||
4366. [bug] Address race condition when updating rbtnode bit
|
4366. [bug] Address race condition when updating rbtnode bit
|
||||||
fields. [RT #42379]
|
fields. [RT #42379]
|
||||||
|
|
||||||
|
@@ -1759,10 +1759,7 @@ zone_touched(dns_zone_t *zone) {
|
|||||||
result = isc_file_getmodtime(zone->masterfile, &modtime);
|
result = isc_file_getmodtime(zone->masterfile, &modtime);
|
||||||
if (result != ISC_R_SUCCESS ||
|
if (result != ISC_R_SUCCESS ||
|
||||||
isc_time_compare(&modtime, &zone->loadtime) > 0)
|
isc_time_compare(&modtime, &zone->loadtime) > 0)
|
||||||
{
|
|
||||||
zone->loadtime = modtime;
|
|
||||||
return (ISC_TRUE);
|
return (ISC_TRUE);
|
||||||
}
|
|
||||||
|
|
||||||
for (include = ISC_LIST_HEAD(zone->includes);
|
for (include = ISC_LIST_HEAD(zone->includes);
|
||||||
include != NULL;
|
include != NULL;
|
||||||
|
Reference in New Issue
Block a user