[Libreoffice-commits] core.git: sal/qa

Stephan Bergmann sbergman at redhat.com
Mon Nov 2 01:07:46 PST 2015


 sal/qa/osl/pipe/osl_Pipe.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit b004bf7f54b31f1b2eab01ed8b21a2c605be55d4
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Mon Nov 2 10:07:19 2015 +0100

    Fix CppunitTest_sal_osl_pipe
    
    Change-Id: I8b092d7e5132e2462b7fe9981f81a41543ca8694

diff --git a/sal/qa/osl/pipe/osl_Pipe.cxx b/sal/qa/osl/pipe/osl_Pipe.cxx
index 2ef7e69..9f1ae6e 100644
--- a/sal/qa/osl/pipe/osl_Pipe.cxx
+++ b/sal/qa/osl/pipe/osl_Pipe.cxx
@@ -190,6 +190,7 @@ namespace osl_Pipe
             {
                 /// create a pipe.
                 ::osl::Pipe aPipe( test::uniquePipeName(aTestPipeName), osl_Pipe_CREATE );
+                osl_acquirePipe(aPipe.getHandle());
                 /// constructs a pipe reference without acquiring the handle.
                 ::osl::Pipe aNoAcquirePipe( aPipe.getHandle( ), SAL_NO_ACQUIRE );
 
@@ -697,6 +698,7 @@ namespace osl_StreamPipe
             {
                 // create a pipe.
                 ::osl::StreamPipe aPipe( test::uniquePipeName(aTestPipeName), osl_Pipe_CREATE );
+                osl_acquirePipe(aPipe.getHandle());
                 // constructs a pipe reference without acquiring the handle.
                 ::osl::StreamPipe aNoAcquirePipe( aPipe.getHandle( ), SAL_NO_ACQUIRE );
 


More information about the Libreoffice-commits mailing list