]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
pullup:
authorMark Andrews <marka@isc.org>
Mon, 15 Oct 2001 04:57:51 +0000 (04:57 +0000)
committerMark Andrews <marka@isc.org>
Mon, 15 Oct 2001 04:57:51 +0000 (04:57 +0000)
1052.  [bug]           Journals were not being created in binary mode
                       resulting in "journal format not recognized" error
                       under Windows NT/2000.  [RT #1889]

CHANGES
lib/dns/journal.c

diff --git a/CHANGES b/CHANGES
index ee12e812a139515903a7baea9b1a9cf79f054d97..875c71e3c6cd02ff38fd850993ecc3c63b26bcee 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,3 +1,7 @@
+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.
index 54c4c4480cbf3f0d37efba6b3f8f6e94c7416830..e431f3581e3aee4abbd468f87b316074793ff520 100644 (file)
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: journal.c,v 1.77 2001/08/06 02:10:59 marka Exp $ */
+/* $Id: journal.c,v 1.77.2.1 2001/10/15 04:57:51 marka Exp $ */
 
 #include <config.h>
 
@@ -490,7 +490,7 @@ journal_file_create(isc_mem_t *mctx, const char *filename) {
 
        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",