From 11fef7874872ad449cda26fc2b8e48e3558c45f5 Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Sun, 12 Sep 2010 19:13:09 +0000 Subject: * sigproc.cc (sig_dispatch_pending): Remove debugging statement. (sigproc_init): Wrap a long line. --- winsup/cygwin/ChangeLog | 5 +++++ winsup/cygwin/sigproc.cc | 7 +++---- 2 files changed, 8 insertions(+), 4 deletions(-) (limited to 'winsup') diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index c5dce4733..9a6cdd9f2 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,8 @@ +2010-09-12 Christopher Faylor + + * sigproc.cc (sig_dispatch_pending): Remove debugging statement. + (sigproc_init): Wrap a long line. + 2010-09-12 Christopher Faylor * cygthread.h (cygthread::cygthread): Reorganize slightly. diff --git a/winsup/cygwin/sigproc.cc b/winsup/cygwin/sigproc.cc index 42f116e96..2d2db78a4 100644 --- a/winsup/cygwin/sigproc.cc +++ b/winsup/cygwin/sigproc.cc @@ -433,9 +433,6 @@ sig_dispatch_pending (bool fast) return; } -#ifdef DEBUGGING - sigproc_printf ("flushing"); -#endif sig_send (myself, fast ? __SIGFLUSHFAST : __SIGFLUSH); } @@ -457,7 +454,9 @@ sigproc_init () { char char_sa_buf[1024]; PSECURITY_ATTRIBUTES sa_buf = sec_user_nih ((PSECURITY_ATTRIBUTES) char_sa_buf, cygheap->user.sid()); - for (int i = 5; i > 0 && !CreatePipe (&my_readsig, &my_sendsig, sa_buf, 0); i--) + for (int i = 5; + i > 0 && !CreatePipe (&my_readsig, &my_sendsig, sa_buf, 0); + i--) if (i == 1) api_fatal ("couldn't create signal pipe, %E"); ProtectHandle (my_readsig); -- cgit v1.2.3