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] Reformat some too-long lines


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

commit c920bf0b010a1d25a5a31b922acafec34ac054ec
Author: Corinna Vinschen <corinna@vinschen.de>
Date:   Mon Jun 27 18:00:56 2016 +0200

    Reformat some too-long lines
    
    Signed-off-by: Corinna Vinschen <corinna@vinschen.de>

Diff:
---
 winsup/cygwin/fhandler_process.cc | 6 ++++--
 winsup/utils/pldd.c               | 3 ++-
 2 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/winsup/cygwin/fhandler_process.cc b/winsup/cygwin/fhandler_process.cc
index 216f095..eb2bf8a 100644
--- a/winsup/cygwin/fhandler_process.cc
+++ b/winsup/cygwin/fhandler_process.cc
@@ -738,7 +738,8 @@ struct thread_info
 	r = (region *) malloc (sizeof (region));
 	if (r)
 	  {
-	    *r = (region) { regions, (ULONG) (ULONG_PTR) thread[i].ClientId.UniqueThread,
+	    *r = (region) { regions,
+			    (ULONG) (ULONG_PTR) thread[i].ClientId.UniqueThread,
 			    (char *) (teb.DeallocationStack
 				      ?: teb.Tib.StackLimit),
 			    (char *) teb.Tib.StackBase,
@@ -877,7 +878,8 @@ format_process_maps (void *data, char *&destbuf)
 	  static DWORD const RW = (PAGE_EXECUTE_READWRITE | PAGE_READWRITE
 				   | PAGE_EXECUTE_WRITECOPY | PAGE_WRITECOPY);
 	  static DWORD const X = (PAGE_EXECUTE | PAGE_EXECUTE_READ
-				  | PAGE_EXECUTE_READWRITE | PAGE_EXECUTE_WRITECOPY);
+				  | PAGE_EXECUTE_READWRITE
+				  | PAGE_EXECUTE_WRITECOPY);
 	  static DWORD const WC = (PAGE_EXECUTE_WRITECOPY | PAGE_WRITECOPY);
 	  DWORD p = mb.Protect;
 	  a = (access) {{
diff --git a/winsup/utils/pldd.c b/winsup/utils/pldd.c
index 84c5b91..f977419 100644
--- a/winsup/utils/pldd.c
+++ b/winsup/utils/pldd.c
@@ -122,7 +122,8 @@ main (int argc, char *argv[])
   fd = fopen (exefile, "rb");
   fscanf (fd, "%s", exename);
 
-  hProcess = OpenProcess (PROCESS_QUERY_INFORMATION | PROCESS_VM_READ, 0, winpid);
+  hProcess = OpenProcess (PROCESS_QUERY_INFORMATION | PROCESS_VM_READ,
+			  0, winpid);
   if (!hProcess)
     error (1, EPERM, "cannot attach to process %d", pid);


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