From 3b20fd9324ccbdf57c3ba098f7dab4d930e98303 Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Thu, 9 Feb 2012 16:05:23 +0000 Subject: [PATCH] * exceptions.cc (setup_handler): Reduce system_printf to sigproc_printf since it is for a transient situation which will undoubtedly be handled. --- winsup/cygwin/ChangeLog | 6 ++++++ winsup/cygwin/exceptions.cc | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index ef7e21944..67771d225 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,9 @@ +2012-02-09 Christopher Faylor + + * exceptions.cc (setup_handler): Reduce system_printf to sigproc_printf + since it is for a transient situation which will undoubtedly be + handled. + 2012-02-09 Corinna Vinschen * fhandler_dsp.cc (fhandler_dev_dsp::Audio_out::write): Set diff --git a/winsup/cygwin/exceptions.cc b/winsup/cygwin/exceptions.cc index a15c9c307..6d03da8e7 100644 --- a/winsup/cygwin/exceptions.cc +++ b/winsup/cygwin/exceptions.cc @@ -879,7 +879,7 @@ setup_handler (int sig, void *handler, struct sigaction& siga, _cygtls *tls) } cx.ContextFlags = CONTEXT_CONTROL | CONTEXT_INTEGER; if (!GetThreadContext (hth, &cx)) - system_printf ("couldn't get context of thread, %E"); + sigproc_printf ("couldn't get context of thread, %E"); else interrupted = tls->interrupt_now (&cx, sig, handler, siga);