From 0b674e109bc2f9b86b428817fa921adf6bde90d6 Mon Sep 17 00:00:00 2001 From: nw1 <nw1@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> Date: Mon, 20 Oct 1997 18:33:11 +0000 Subject: Added LPSECURITY_ATTRIBUTES to a bunch of methods. --- ace/FIFO_Recv.cpp | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'ace/FIFO_Recv.cpp') diff --git a/ace/FIFO_Recv.cpp b/ace/FIFO_Recv.cpp index c30cdcab937..cfa7ae5e99a 100644 --- a/ace/FIFO_Recv.cpp +++ b/ace/FIFO_Recv.cpp @@ -38,16 +38,17 @@ int ACE_FIFO_Recv::open (const char *fifo_name, int flags, int perms, - int persistent) + int persistent, + LPSECURITY_ATTRIBUTES sa) { ACE_TRACE ("ACE_FIFO_Recv::open"); - if (ACE_FIFO::open (fifo_name, ACE_NONBLOCK | flags, perms) == -1) + if (ACE_FIFO::open (fifo_name, ACE_NONBLOCK | flags, perms, sa) == -1) return -1; else if (this->disable (ACE_NONBLOCK) == -1) return -1; else if (persistent - && (this->aux_handle_ = ACE_OS::open (fifo_name, O_WRONLY)) == ACE_INVALID_HANDLE) + && (this->aux_handle_ = ACE_OS::open (fifo_name, O_WRONLY, 0, sa)) == ACE_INVALID_HANDLE) return -1; else return this->get_handle () == ACE_INVALID_HANDLE ? -1 : 0; @@ -62,7 +63,8 @@ ACE_FIFO_Recv::ACE_FIFO_Recv (void) ACE_FIFO_Recv::ACE_FIFO_Recv (const char *fifo_name, int flags, int perms, - int persistent) + int persistent, + LPSECURITY_ATTRIBUTES sa) : aux_handle_ (ACE_INVALID_HANDLE) { ACE_TRACE ("ACE_FIFO_Recv::ACE_FIFO_Recv"); @@ -70,7 +72,8 @@ ACE_FIFO_Recv::ACE_FIFO_Recv (const char *fifo_name, if (this->ACE_FIFO_Recv::open (fifo_name, flags, perms, - persistent) == -1) + persistent, + sa) == -1) ACE_ERROR ((LM_ERROR, "%p\n", "ACE_FIFO_Recv")); } -- cgit v1.2.1