Navigation Menu

Skip to content

Commit

Permalink
windows: remove needless item from backtrace on crash
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Feb 19, 2018
1 parent fc4590e commit 9c9120b
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions lib/ctx.c
@@ -1,6 +1,6 @@
/* -*- c-basic-offset: 2 -*- */
/*
Copyright(C) 2009-2017 Brazil
Copyright(C) 2009-2018 Brazil
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
Expand Down Expand Up @@ -1727,11 +1727,10 @@ exception_filter(EXCEPTION_POINTERS *info)
{
const char *unknown = "(unknown)";
GRN_LOG(ctx, GRN_LOG_CRIT,
"%s:%d:%d: %p: %.*s(): <%s>: <%s>",
"%s:%d:%d: %.*s(): <%s>: <%s>",
(have_location ? line.FileName : unknown),
(have_location ? line.LineNumber : -1),
(have_location ? line_displacement : -1),
address,
(have_symbol_name ? symbol->NameLen : strlen(unknown)),
(have_symbol_name ? symbol->Name : unknown),
(have_module_name ? module.ModuleName : unknown),
Expand Down

0 comments on commit 9c9120b

Please sign in to comment.