diff options
author | rbb <rbb@13f79535-47bb-0310-9956-ffa450edef68> | 2000-05-26 16:24:10 +0000 |
---|---|---|
committer | rbb <rbb@13f79535-47bb-0310-9956-ffa450edef68> | 2000-05-26 16:24:10 +0000 |
commit | 88bdbf339cc25c0b915a025cce1146a32b1a6775 (patch) | |
tree | fa318eda63d805ca09c767ec96b802c8c7856e3b /dso | |
parent | 45ed8327ceaaf12e02fe2b425569aa606496f8e4 (diff) | |
download | libapr-88bdbf339cc25c0b915a025cce1146a32b1a6775.tar.gz |
Fix error handling for DSO opening. This probably doesn't fix all
of the dso error handling, but it reports errors when opening with
much more detail.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@60102 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'dso')
-rw-r--r-- | dso/unix/dso.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/dso/unix/dso.c b/dso/unix/dso.c index c25986b85..69eff0bb7 100644 --- a/dso/unix/dso.c +++ b/dso/unix/dso.c @@ -71,7 +71,11 @@ ap_status_t ap_dso_load(ap_dso_handle_t **res_handle, const char *path, #endif if(os_handle == NULL) +#if defined(HPUX) || defined(HPUX10) || defined(HPUX11) + return errno; +#else return APR_EDSOOPEN; +#endif *res_handle = ap_pcalloc(ctx, sizeof(*res_handle)); (*res_handle)->handle = (void*)os_handle; |