summaryrefslogtreecommitdiff
path: root/ACE/ace/DLL_Manager.cpp
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2009-05-12 08:31:31 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2009-05-12 08:31:31 +0000
commit4c04a7e6f80874ff086d74acdd8b0709c8313609 (patch)
treee873b312beb40d960bff13f0f41d7fb8b6961615 /ACE/ace/DLL_Manager.cpp
parent891e06a87002b46fdeda48e5cfac0a8af2e8ec45 (diff)
downloadATCD-4c04a7e6f80874ff086d74acdd8b0709c8313609.tar.gz
Tue May 12 08:31:05 2009 Johnny Willemsen <jwillemsen@remedy.nl>
* ace/OS_NS_errno.h: Added ACE_ERRNO_GET, this has to be used when errno is passed to a C variable length argument . With WinCE errno is a class instance which we can't pass through a variable length argument, the cegcc compiler gives a warning about this, it results to an abort at runtime. ACE_ERRNO_GET will return the errno as int with WinCE * ace/DLL_Manager.cpp: * examples/Reactor/TP_Reactor/AcceptHandler.cpp: * examples/Reactor/TP_Reactor/client.cpp: * examples/Reactor/TP_Reactor/ReadHandler.cpp: * tests/Mem_Map_Test.cpp: * tests/MT_Reactor_Timer_Test.cpp: * tests/MT_SOCK_Test.cpp: * tests/New_Fail_Test.cpp: * tests/Priority_Task_Test.cpp: * tests/Reactor_Performance_Test.cpp: * tests/SOCK_Connector_Test.cpp: * tests/Thread_Pool_Reactor_Resume_Test.cpp: Use ACE_ERRNO_GET * tests/Reactor_Notify_Test.cpp: Fixed typo in comment
Diffstat (limited to 'ACE/ace/DLL_Manager.cpp')
-rw-r--r--ACE/ace/DLL_Manager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ACE/ace/DLL_Manager.cpp b/ACE/ace/DLL_Manager.cpp
index e161e2fd791..d8608ee71d9 100644
--- a/ACE/ace/DLL_Manager.cpp
+++ b/ACE/ace/DLL_Manager.cpp
@@ -153,7 +153,7 @@ ACE_DLL_Handle::open (const ACE_TCHAR *dll_name,
ACE_TEXT ("(\'%s\') failed, errno=")
ACE_TEXT ("%d: %s\n"),
name->c_str (),
- errno,
+ ACE_ERRNO_GET,
this->error ()->c_str ()));
#if defined (AIX)