]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit078bcff9070bc86b128fe732644c8498c66b6f42
treeb790b67fe2d6443f7e9649a0185602ba5e821fe2
parent0e230075839a6d3f95a67e941c7d3171049fa2e9
kconfig: handle SIGINT in menuconfig

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>
scripts/kconfig/mconf.c