diff options
author | trawick <trawick@13f79535-47bb-0310-9956-ffa450edef68> | 2007-12-10 14:52:32 +0000 |
---|---|---|
committer | trawick <trawick@13f79535-47bb-0310-9956-ffa450edef68> | 2007-12-10 14:52:32 +0000 |
commit | 2dc40f4484622b904037a4f5eb273272f688ef73 (patch) | |
tree | 2c000d61ab55bef9454516e04cf73f68a13e8fa3 | |
parent | d7d9d441df9c3783b187d8de3a7d086bd91c564b (diff) | |
download | libapr-2dc40f4484622b904037a4f5eb273272f688ef73.tar.gz |
merge r602460 from trunk:
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: http://svn.apache.org/repos/asf/apr/apr/branches/1.2.x@602919 13f79535-47bb-0310-9956-ffa450edef68
-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.2.13 + *) 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] Changes for APR 1.2.12 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, |