kconfig: handle SIGINT in menuconfig
authorDavidlohr Bueso <dave@gnu.org>
Mon, 22 Aug 2011 01:04:09 +0000 (22:04 -0300)
committerArnaud Lacombe <lacombar@gmail.com>
Tue, 30 Aug 2011 00:21:29 +0000 (20:21 -0400)
I recently got bitten in the ass when pressing Ctrl-C and lost all my current
configuration changes. This patch captures SIGINT and allows the user to save
any changes.

Some code refactoring was made in order to handle the exit behavior.

Signed-off-by: Davidlohr Bueso <dave@gnu.org>
Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>

No differences found