summaryrefslogtreecommitdiff
path: root/ACE/ace/DLL_Manager.cpp
diff options
context:
space:
mode:
authorXianda Wang <wxianda@gmail.com>2019-01-11 19:52:52 +0800
committerLike Ma <likemartinma@gmail.com>2019-01-30 11:32:43 +0800
commit5d4e810d944dd7cbb13eeb98e37bb36c17848cc3 (patch)
treeaa6a962bf043d0dae8736f11560e7893a54cb1f9 /ACE/ace/DLL_Manager.cpp
parente5387e5ce7c4a4f1b71c1e374d58618dc080082d (diff)
downloadATCD-5d4e810d944dd7cbb13eeb98e37bb36c17848cc3.tar.gz
Fix DLL_Manager error info
Diffstat (limited to 'ACE/ace/DLL_Manager.cpp')
-rw-r--r--ACE/ace/DLL_Manager.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/ACE/ace/DLL_Manager.cpp b/ACE/ace/DLL_Manager.cpp
index 048787ca657..3f00cda7354 100644
--- a/ACE/ace/DLL_Manager.cpp
+++ b/ACE/ace/DLL_Manager.cpp
@@ -148,7 +148,7 @@ ACE_DLL_Handle::open (const ACE_TCHAR *dll_name,
// mask it.
// @TODO: If we've found our DLL _and_ it's
// broken, should we continue at all?
- if ((errno != 0) && (errno != ENOENT) && (errors || ACE::debug ()))
+ if ((errno != ENOENT) && (errors || ACE::debug ()))
{
ACE_TString errtmp;
if (errors)
@@ -208,7 +208,7 @@ ACE_DLL_Handle::open (const ACE_TCHAR *dll_name,
//
// @TODO: If we've found our DLL _and_ it's broken,
// should we continue at all?
- if ((errno != 0) && (errno != ENOENT) && (errors || ACE::debug ()))
+ if ((errno != ENOENT) && (errors || ACE::debug ()))
{
ACE_TString errtmp;
if (errors)