[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Nano-devel] [PATCH] restore terminal and print backtrace for segfau
From: |
Brand Huntsman |
Subject: |
Re: [Nano-devel] [PATCH] restore terminal and print backtrace for segfaults and assertions |
Date: |
Wed, 17 Jan 2018 14:11:43 -0700 |
On Wed, 17 Jan 2018 20:08:52 +0100
Benno Schulenberg <address@hidden> wrote:
> With the first patch applied, nano fails to compile for me:
>
> In file included from proto.h:24:0,
> from browser.c:22:
> browser.c: In function ‘do_browser’:
> nano.h:127:2: warning: implicit declaration of function ‘tcsetattr’;
> did you mean ‘tcsetpgrp’? [-Wimplicit-function-declaration]
> tcsetattr(0, TCSANOW, &oldterm); \
Not sure why it works for me but moving endwin() and tcsetattr() to a global
function will avoid including termios.h in any files using assert(). Update
attached.
restore-terminal-for-segfaults-and-assertions.patch
Description: Text Data
Re: [Nano-devel] [PATCH] restore terminal and print backtrace for segfaults and assertions, Benno Schulenberg, 2018/01/15
Re: [Nano-devel] [PATCH] restore terminal and print backtrace for segfaults and assertions, Benno Schulenberg, 2018/01/17
- Re: [Nano-devel] [PATCH] restore terminal and print backtrace for segfaults and assertions,
Brand Huntsman <=