mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-11 11:09:59 -04:00
3373. [bug] win32: open raw files in binary mode. [RT #30944]
was not complete openfile_raw should be using mode "rb" rather than "r".
This commit is contained in:
parent
36800a2ed2
commit
c27c11ff2c
1 changed files with 1 additions and 1 deletions
|
|
@ -773,7 +773,7 @@ static isc_result_t
|
|||
openfile_raw(dns_loadctx_t *lctx, const char *master_file) {
|
||||
isc_result_t result;
|
||||
|
||||
result = isc_stdio_open(master_file, "r", &lctx->f);
|
||||
result = isc_stdio_open(master_file, "rb", &lctx->f);
|
||||
if (result != ISC_R_SUCCESS && result != ISC_R_FILENOTFOUND) {
|
||||
UNEXPECTED_ERROR(__FILE__, __LINE__,
|
||||
"isc_stdio_open() failed: %s",
|
||||
|
|
|
|||
Loading…
Reference in a new issue