]> 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)
commit78d525c552d8e3154697f64e6f18e391cf57cecc
treeb790b67fe2d6443f7e9649a0185602ba5e821fe2
parent031c1581bc7a6fcba6248479d30cb38bff81c3d4
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