diff options
author | Jeff Trawick <trawick@apache.org> | 2007-12-08 13:40:15 +0000 |
---|---|---|
committer | Jeff Trawick <trawick@apache.org> | 2007-12-08 13:40:15 +0000 |
commit | f1166f90d40f35d4b7851f38d2cc0eba42ce34ce (patch) | |
tree | 923d059cfb47553e9b4d6bbfbe3bac3f4b07c780 /dso | |
parent | 8c9f2eb71cf6e45a0165cfe15ccc230de5ec9027 (diff) | |
download | apr-f1166f90d40f35d4b7851f38d2cc0eba42ce34ce.tar.gz |
z/OS: return standard apr_status_t codes from apr_dso_load()
and apr_dso_sym().
Submitted by: David Jones <oscaremma gmail.com>
Reviewed by: trawick
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@602460 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'dso')
-rw-r--r-- | dso/os390/dso.c | 4 |
1 files changed, 2 insertions, 2 deletions
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, |