summaryrefslogtreecommitdiff
path: root/ace/FIFO_Recv.cpp
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2004-06-14 13:58:59 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2004-06-14 13:58:59 +0000
commit80704c4b3d824a163361567d733d7abf046c5e33 (patch)
treea0cf7224cf47f51ebf9c88774dd3c7f2ce055852 /ace/FIFO_Recv.cpp
parentd94228526efd6d8c614701abdc88111e177dc68e (diff)
downloadATCD-80704c4b3d824a163361567d733d7abf046c5e33.tar.gz
ChangeLogTag: Mon Jun 14 13:58:12 UTC 2004 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'ace/FIFO_Recv.cpp')
-rw-r--r--ace/FIFO_Recv.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/ace/FIFO_Recv.cpp b/ace/FIFO_Recv.cpp
index 3b877dfe5db..e517fb4b5b2 100644
--- a/ace/FIFO_Recv.cpp
+++ b/ace/FIFO_Recv.cpp
@@ -3,10 +3,11 @@
#include "ace/FIFO_Recv.h"
#include "ace/Log_Msg.h"
+#include "ace/OS_NS_fcntl.h"
-#if defined (ACE_LACKS_INLINE_FUNCTIONS)
+#if !defined (__ACE_INLINE__)
#include "ace/FIFO_Recv.i"
-#endif
+#endif /* __ACE_INLINE__ */
ACE_RCSID(ace, FIFO_Recv, "$Id$")
@@ -24,7 +25,7 @@ ACE_FIFO_Recv::dump (void) const
#endif /* ACE_HAS_DUMP */
}
-int
+int
ACE_FIFO_Recv::close (void)
{
ACE_TRACE ("ACE_FIFO_Recv::close");
@@ -53,7 +54,7 @@ ACE_FIFO_Recv::open (const ACE_TCHAR *fifo_name,
return -1;
else if (this->disable (ACE_NONBLOCK) == -1)
return -1;
- else if (persistent
+ else if (persistent
&& (this->aux_handle_ = ACE_OS::open (fifo_name, O_WRONLY, 0, sa)) == ACE_INVALID_HANDLE)
return -1;
else