+2567. [bug] dst__privstruct_writefile() could miss write errors.
+ [RT #19360]
+
2566. [cleanup] Clarify logged message when an insecure DNSSEC
response arrives from a zone thought to be secure:
"insecurity proof failed" instead of "not
/*
* Principal Author: Brian Wellington
- * $Id: dst_api.c,v 1.17 2008/12/01 03:51:47 marka Exp $
+ * $Id: dst_api.c,v 1.18 2009/03/02 02:03:59 marka Exp $
*/
/*! \file */
fwrite(r.base, 1, r.length, fp);
fputc('\n', fp);
+ fflush(fp);
+ if (ferror(fp))
+ ret = DST_R_WRITEERROR;
fclose(fp);
- return (ISC_R_SUCCESS);
+ return (ret);
}
static isc_result_t