Commit d27f41cb authored by Mark Andrews's avatar Mark Andrews

Merge branch '884-patches-to-review' into 'master'

Correct errno to result translation

Closes #884

See merge request !1519
parents fa79f4b8 a0c0d760
Pipeline #10218 passed with stages
in 11 minutes and 24 seconds
5164. [bug] Correct errno to result translation in dlz filesystem
modules. [GL #884]
5163. [cleanup] Out-of-tree builds failed --enable-dnstap. [GL #836]
5162. [cleanup] Improve dnssec-keymgr manual. Thanks to Tony Finch.
......
......@@ -57,15 +57,20 @@ dir_open(dir_t *dir, const char *dirname) {
case ENAMETOOLONG:
case EBADF:
result = ISC_R_INVALIDFILE;
break;
case ENOENT:
result = ISC_R_FILENOTFOUND;
break;
case EACCES:
case EPERM:
result = ISC_R_NOPERM;
break;
case ENOMEM:
result = ISC_R_NOMEMORY;
break;
default:
result = ISC_R_UNEXPECTED;
break;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment