Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/winsup
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2010-09-12 23:13:09 +0400
committerChristopher Faylor <me@cgf.cx>2010-09-12 23:13:09 +0400
commit11fef7874872ad449cda26fc2b8e48e3558c45f5 (patch)
treeb78a270aa057dc2455203402a70a3df27ff6c5e3 /winsup
parent6c6eb02b3368ba911797cead4e58879e3796bbf5 (diff)
* sigproc.cc (sig_dispatch_pending): Remove debugging statement.
(sigproc_init): Wrap a long line.
Diffstat (limited to 'winsup')
-rw-r--r--winsup/cygwin/ChangeLog5
-rw-r--r--winsup/cygwin/sigproc.cc7
2 files changed, 8 insertions, 4 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index c5dce4733..9a6cdd9f2 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -1,5 +1,10 @@
2010-09-12 Christopher Faylor <me+cygwin@cgf.cx>
+ * sigproc.cc (sig_dispatch_pending): Remove debugging statement.
+ (sigproc_init): Wrap a long line.
+
+2010-09-12 Christopher Faylor <me+cygwin@cgf.cx>
+
* cygthread.h (cygthread::cygthread): Reorganize slightly.
* dcrt0.cc (dll_crt0_0): Move sigproc initialization later to ensure
everything we need has been set up.
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);