Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Jul 2017 10:33:56 -0700
From:      "Simon J. Gerraty" <sjg@juniper.net>
To:        Konstantin Belousov <kostikbel@gmail.com>
Cc:        Dmitry Marakasov <amdmi3@amdmi3.ru>, <rum1cro@yandex.ru>, <ian@FreeBSD.org>, <freebsd-current@FreeBSD.org>, <sjg@juniper.net>
Subject:   Re: [bmake] bmake sigint handling causing tty corruption
Message-ID:  <6076.1500572036@kaos.jnpr.net>
In-Reply-To: <20170720112904.GH1935@kib.kiev.ua>
References:  <20170718205700.GA2131@hades.panopticon> <20170720112904.GH1935@kib.kiev.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
Konstantin Belousov <kostikbel@gmail.com> wrote:
> I just find is somewhat strange that make initiates a new session.

In jobs mode it does - to ensure the child and all progeny can be killed
in one fell swoop.
In compat mode it does not, but that does not mean the child cannot do
so.

> Did you verified that enabling the wait code in make(1) fixes the issue ?

FWIW it is a reasonably simple patch to make to wait for child to exit
before self termination.

--sjg



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6076.1500572036>