commit | 564899f9f0a2df85fa367c8749a1fef323cb3215 | [log] [tgz] |
---|---|---|
author | Davidlohr Bueso <dave@gnu.org> | Sun Aug 21 22:04:09 2011 -0300 |
committer | Arnaud Lacombe <lacombar@gmail.com> | Mon Aug 29 20:21:29 2011 -0400 |
tree | b790b67fe2d6443f7e9649a0185602ba5e821fe2 | |
parent | 953742c8fe8ac45be453fee959d7be40cd89f920 [diff] |
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>