sal/osl/w32/dllentry.c |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

New commits:
commit df1f6debb793eea6e57914391a7174e0eafe3667
Author: Michael Stahl <mst...@redhat.com>
Date:   Mon Aug 25 13:40:47 2014 +0200

    fix this C file for Microsoft Pascal compiler
    
    Change-Id: I08086caacb7abe0c85aeb184935b3f73666e9faf

diff --git a/sal/osl/w32/dllentry.c b/sal/osl/w32/dllentry.c
index f16cab7..dc30f8d 100644
--- a/sal/osl/w32/dllentry.c
+++ b/sal/osl/w32/dllentry.c
@@ -261,11 +261,12 @@ static DWORD GetParentProcessId()
 
 static DWORD WINAPI ParentMonitorThreadProc( LPVOID lpParam )
 {
-    osl_setThreadName("headless ParentMonitorThread");
-
     DWORD_PTR dwParentProcessId = (DWORD_PTR)lpParam;
 
     HANDLE  hParentProcess = OpenProcess( SYNCHRONIZE, FALSE, 
dwParentProcessId );
+
+    osl_setThreadName("headless ParentMonitorThread");
+
     if ( IsValidHandle( hParentProcess ) )
     {
         if ( WAIT_OBJECT_0 == WaitForSingleObject( hParentProcess, INFINITE ) )
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to