diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2009-05-12 08:31:31 +0000 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2009-05-12 08:31:31 +0000 |
commit | 4c04a7e6f80874ff086d74acdd8b0709c8313609 (patch) | |
tree | e873b312beb40d960bff13f0f41d7fb8b6961615 /ACE/tests/Priority_Task_Test.cpp | |
parent | 891e06a87002b46fdeda48e5cfac0a8af2e8ec45 (diff) | |
download | ATCD-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/tests/Priority_Task_Test.cpp')
-rw-r--r-- | ACE/tests/Priority_Task_Test.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ACE/tests/Priority_Task_Test.cpp b/ACE/tests/Priority_Task_Test.cpp index 45f9f41e6ae..74f2fa9858d 100644 --- a/ACE/tests/Priority_Task_Test.cpp +++ b/ACE/tests/Priority_Task_Test.cpp @@ -102,7 +102,7 @@ Priority_Task::open (void *arg) flags, fallback_priority, THR_NEW_LWP, - errno, + ACE_ERRNO_GET, ACE_TEXT (""))); flags = THR_NEW_LWP; |