[Libreoffice-commits] .: ucb/source

David Tardon dtardon at kemper.freedesktop.org
Tue Dec 14 04:26:33 PST 2010


 ucb/source/ucp/webdav/NeonPropFindRequest.cxx |   13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)

New commits:
commit 66e29b601c4c181002921bd5a5811599fb6ef383
Author: David Tardon <dtardon at redhat.com>
Date:   Tue Dec 14 13:25:58 2010 +0100

    rhbz#661809 ne_propnames is affected too

diff --git a/ucb/source/ucp/webdav/NeonPropFindRequest.cxx b/ucb/source/ucp/webdav/NeonPropFindRequest.cxx
index 17d42cc..86aacd1 100644
--- a/ucb/source/ucp/webdav/NeonPropFindRequest.cxx
+++ b/ucb/source/ucp/webdav/NeonPropFindRequest.cxx
@@ -333,11 +333,14 @@ NeonPropFindRequest::NeonPropFindRequest(
                             std::vector< DAVResourceInfo > & ioResInfo,
                             int & nError )
 {
-    nError = ne_propnames( inSession,
-                           inPath,
-                           inDepth,
-                           NPFR_propnames_results,
-                           &ioResInfo );
+    {
+        osl::Guard< osl::Mutex > theGlobalGuard( aGlobalNeonMutex );
+        nError = ne_propnames( inSession,
+                            inPath,
+                            inDepth,
+                            NPFR_propnames_results,
+                            &ioResInfo );
+    }
 
     // #87585# - Sometimes neon lies (because some servers lie).
     if ( ( nError == NE_OK ) && ioResInfo.empty() )


More information about the Libreoffice-commits mailing list