[Tarantool-patches] [PATCH] clear terminal state on panic

Alexander Turenko alexander.turenko at tarantool.org
Mon Dec 23 17:29:31 MSK 2019


On Tue, Dec 10, 2019 at 05:03:11PM +0300, Kirill Yukhin wrote:
> Hello,
> 
> On 26 ноя 18:15, Serge Petrenko wrote:
> > The tarantool_free() call in the end of main() works all the time except
> > when we exit due to a panic. We need to clear terminal state in this
> > case also, so return to using atexit() to clear readline state.
> > 
> > Closes #4466
> > ---
> > https://github.com/tarantool/tarantool/issues/4466
> > https://github.com/tarantool/tarantool/tree/sp/gh-4466-clear-rl-state
> > 
> >  src/main.cc | 34 ++++++++++++++++++++++++----------
> >  1 file changed, 24 insertions(+), 10 deletions(-)

I'm okay with the change itself.

> I've checked your patch into master.

Kirill, please, propagate into all supported long-term branches: this is
the bugfix.

WBR, Alexander Turenko.


More information about the Tarantool-patches mailing list