diff options
-rw-r--r-- | CHANGES | 3 | ||||
-rw-r--r-- | dso/os390/dso.c | 4 |
2 files changed, 5 insertions, 2 deletions
@@ -1,6 +1,9 @@ -*- coding: utf-8 -*- Changes for APR 1.3.0 + *) z/OS: return standard apr_status_t codes from apr_dso_load() + and apr_dso_sym(). [David Jones <oscaremma gmail.com>] + *) Fix the make test target in the spec file. [Graham Leggett] *) Add error codes for the SSL EVP interface for apr-util. diff --git a/dso/os390/dso.c b/dso/os390/dso.c index 034ffe843..9344c71a1 100644 --- a/dso/os390/dso.c +++ b/dso/os390/dso.c @@ -72,7 +72,7 @@ APR_DECLARE(apr_status_t) apr_dso_load(apr_dso_handle_t **res_handle, } (*res_handle)->failing_errno = errno; - return errno; + return APR_EDSOOPEN; } APR_DECLARE(apr_status_t) apr_dso_unload(apr_dso_handle_t *handle) @@ -96,7 +96,7 @@ APR_DECLARE(apr_status_t) apr_dso_sym(apr_dso_handle_sym_t *ressym, return APR_SUCCESS; } handle->failing_errno = errno; - return errno; + return APR_ESYMNOTFOUND; } APR_DECLARE(const char *) apr_dso_error(apr_dso_handle_t *handle, char *buffer, |