aboutsummaryrefslogtreecommitdiff
path: root/winsup/cygwin/exceptions.cc
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2000-08-02 19:26:01 +0000
committerChristopher Faylor <me@cgf.cx>2000-08-02 19:26:01 +0000
commit20d7f7583797512876904592d48f54d157d427af (patch)
tree07e18d4928df850cbdf27ecd9bc82037d17a9629 /winsup/cygwin/exceptions.cc
parent5a7b5870ff892b6e2d8293f0453959d717e0973b (diff)
downloadnewlib-20d7f7583797512876904592d48f54d157d427af.zip
newlib-20d7f7583797512876904592d48f54d157d427af.tar.gz
newlib-20d7f7583797512876904592d48f54d157d427af.tar.bz2
* strace.cc (strace::prntf): Make second argument the function name, rather
than use special format options. (strace::vprntf): Ditto. (getfunc): New function. * include/sys/strace.h: Reflect above changes. * smallprint.c (__small_vsprintf): Eliminate '%F' formatting. * pinfo.cc (set_myself): Modify for new strace::prntf parameter. * errno.cc (seterrno_from_win_error): Ditto. * fhandler_tty.cc (fhandler_tty_common::__acquire_output_mutex): Ditto. * fhandler_tty.cc (fhandler_tty_common::__release_output_mutex): Ditto.
Diffstat (limited to 'winsup/cygwin/exceptions.cc')
-rw-r--r--winsup/cygwin/exceptions.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/exceptions.cc b/winsup/cygwin/exceptions.cc
index 373ebac..7452e94 100644
--- a/winsup/cygwin/exceptions.cc
+++ b/winsup/cygwin/exceptions.cc
@@ -154,7 +154,7 @@ error_start_init (const char *buf)
static void
exception (EXCEPTION_RECORD *e, CONTEXT *in)
{
- const char *exception_name = 0;
+ const char *exception_name = NULL;
if (e)
{