summaryrefslogtreecommitdiff
path: root/ACE/ace/POSIX_Proactor.cpp
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2012-12-09 14:38:45 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2012-12-09 14:38:45 +0000
commit28e57c18c33347da6dbae6f259448bc405c776e8 (patch)
treed3f4f9cea997caf7c642d9072bae7ee83a9e6252 /ACE/ace/POSIX_Proactor.cpp
parent8de4a68f954846cf6a9bc3d47c6a3e5b40810042 (diff)
downloadATCD-28e57c18c33347da6dbae6f259448bc405c776e8.tar.gz
Sun Dec 9 14:38:27 UTC 2012 Johnny Willemsen <jwillemsen@remedy.nl>
* ace/POSIX_Proactor.cpp: * ace/Parse_Node.cpp: * ace/SV_Message_Queue.inl: * ace/SV_Message_Queue.cpp: Fixed coverity errors
Diffstat (limited to 'ACE/ace/POSIX_Proactor.cpp')
-rw-r--r--ACE/ace/POSIX_Proactor.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/ACE/ace/POSIX_Proactor.cpp b/ACE/ace/POSIX_Proactor.cpp
index 5f9c4bc4c28..eec70234c90 100644
--- a/ACE/ace/POSIX_Proactor.cpp
+++ b/ACE/ace/POSIX_Proactor.cpp
@@ -630,7 +630,11 @@ ACE_AIOCB_Notify_Pipe_Manager::ACE_AIOCB_Notify_Pipe_Manager (ACE_POSIX_AIOCB_Pr
read_stream_ (posix_aiocb_proactor)
{
// Open the pipe.
- this->pipe_.open ();
+ if (this->pipe_.open () == -1)
+ ACE_ERROR ((LM_ERROR,
+ ACE_TEXT("%N:%l:%p\n"),
+ ACE_TEXT("ACE_AIOCB_Notify_Pipe_Manager::ACE_AIOCB_Notify_Pipe_Manager:")
+ ACE_TEXT("Open of pipe failed")));
// Set write side in NONBLOCK mode
ACE::set_flags (this->pipe_.write_handle (), ACE_NONBLOCK);