nano-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Nano-devel] [PATCH] signals: upon a crash, save changed buffers and


From: Eitan Adler
Subject: Re: [Nano-devel] [PATCH] signals: upon a crash, save changed buffers and reset terminal state
Date: Mon, 7 May 2018 13:12:07 -0700

On 7 May 2018 at 10:53, Benno Schulenberg <address@hidden> wrote:
>
> Op 07-05-18 om 02:21 schreef Eitan Adler:
>> On 6 May 2018 at 08:12, Benno Schulenberg <address@hidden> wrote:
>>> This has the disadvantage, though, that distros that automatically
>>> catch a backtrace from a crash, can't get any.  To make this again
>>> possible if the user wants it, I propose inserting a check for an
>>> environment variable, NANO_NOCATCH.  See the upcoming patch.
>>>
>>> Suggestions for a better name and other comments are welcome.
>>
>> Rust uses RUST_BACKTRACE as does RAKUDO_BACKTRACE and several others.
>
> Thanks.  But... those names sound as if they would automatically produce
> a backtrace when set.
>
> But if they just mean that a backtrace *can* be made, when the necessary
> mechanisms are present, then I'm fine with using NANO_BACKTRACE too.

In most cases I know of, it turns errors into backtraces. They don't
cause backtraces in a normal exit.



-- 
Eitan Adler



reply via email to

[Prev in Thread] Current Thread [Next in Thread]