+1052. [bug] Journals were not being created in binary mode
+ resulting in "journal format not recognized" error
+ under Windows NT/2000. [RT #1889]
+
1051. [bug] Do not ignore a network interface completely just
because it has a noncontiguous netmask. Instead,
omit it from the localnets ACL and issue a warning.
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-/* $Id: journal.c,v 1.71.2.1 2001/01/09 22:43:40 bwelling Exp $ */
+/* $Id: journal.c,v 1.71.2.2 2001/10/15 05:01:03 marka Exp $ */
#include <config.h>
INSIST(sizeof(journal_rawheader_t) == JOURNAL_HEADER_SIZE);
- result = isc_stdio_open(filename, "w", &fp);
+ result = isc_stdio_open(filename, "wb", &fp);
if (result != ISC_R_SUCCESS) {
isc_log_write(JOURNAL_COMMON_LOGARGS, ISC_LOG_ERROR,
"%s: create: %s",