This is the mail archive of the cygwin-cvs@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[newlib-cygwin] Fix formatting


https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=988629da1d299cfef7023e07ad900dd047b9fc63

commit 988629da1d299cfef7023e07ad900dd047b9fc63
Author: Corinna Vinschen <corinna@vinschen.de>
Date:   Thu Aug 25 12:06:17 2016 +0200

    Fix formatting
    
    Signed-off-by: Corinna Vinschen <corinna@vinschen.de>

Diff:
---
 winsup/cygwin/miscfuncs.cc | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/winsup/cygwin/miscfuncs.cc b/winsup/cygwin/miscfuncs.cc
index dc56cfd..fbd024f 100644
--- a/winsup/cygwin/miscfuncs.cc
+++ b/winsup/cygwin/miscfuncs.cc
@@ -1134,10 +1134,11 @@ SetThreadName(DWORD dwThreadID, const char* threadName)
 #endif
     };
 
-  __try {
-    RaiseException (MS_VC_EXCEPTION, 0, sizeof (info)/sizeof (ULONG_PTR), info);
-  }
-  __except (NO_ERROR) {
-  }
+  __try
+    {
+      RaiseException (MS_VC_EXCEPTION, 0, sizeof (info) / sizeof (ULONG_PTR),
+		      info);
+    }
+  __except (NO_ERROR)
   __endtry
 }


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]