diff options
author | Nat Goodspeed <nat@lindenlab.com> | 2010-12-14 19:27:43 -0500 |
---|---|---|
committer | Nat Goodspeed <nat@lindenlab.com> | 2010-12-14 19:27:43 -0500 |
commit | e04f9ef1093287155f1d0820bd63c4b3c6c5d3d2 (patch) | |
tree | 7acd1870f62806780330e29adb79949621b05294 /indra/newview/llagent.h | |
parent | 5b7a3d3a36b4bd01da80a0093bbc3e533f116f71 (diff) |
SWAT-352: when loading lleventhost, call apr_dso_error() function.
In addition to its usual apr_sterror() function, APR defines a special
function specifically for errors relating to the apr_dso_*() functions.
Introduce ll_apr_warn_status() and ll_apr_assert_status() overloads accepting
apr_dso_handle_t* to call apr_dso_error() as well as apr_strerror() and log
its output. Use new ll_apr_warn_status() in LLAppViewer::loadEventHostModule()
for apr_dso_load() and apr_dso_sym() calls. Instead of shorthand
ll_apr_assert_status(), use with llassert_always() so check is still performed
even in Release build.
Add more lleventhost-related debugging output, e.g. full pathname of the DLL.
On Mac and Linux, call 'file' command to report nature of the DLL too.
Diffstat (limited to 'indra/newview/llagent.h')
0 files changed, 0 insertions, 0 deletions