1645. [bug] named could trigger a REQUIRE failure if multiple
masters with keys are specified.
-1644. [placeholder] rt11436
+1644. [bug] Update the journal modification time after a
+ sucessfull refresh query. [RT #11436]
1643. [bug] dns_db_closeversion() could leak memory / node
references. [RT #11163]
* PERFORMANCE OF THIS SOFTWARE.
*/
-/* $Id: zone.c,v 1.415 2004/05/28 23:53:46 marka Exp $ */
+/* $Id: zone.c,v 1.416 2004/06/04 02:40:50 marka Exp $ */
#include <config.h>
dns_message_destroy(&msg);
} else if (isc_serial_eq(soa.serial, zone->serial)) {
if (zone->masterfile != NULL) {
- result = isc_file_settime(zone->masterfile, &now);
+ result = ISC_R_FAILURE;
+ if (zone->journal != NULL)
+ result = isc_file_settime(zone->journal, &now);
+ if (result != ISC_R_SUCCESS)
+ result = isc_file_settime(zone->masterfile,
+ &now);
/* Someone removed the file from underneath us! */
if (result == ISC_R_FILENOTFOUND) {
LOCK_ZONE(zone);