commit | 032ac6f8bfb68746cb0eea407b1cd2b22a78898f | [log] [tgz] |
---|---|---|
author | Gerd Hoffmann <kraxel@redhat.com> | Fri Nov 22 15:35:03 2013 +0100 |
committer | Anthony Liguori <aliguori@amazon.com> | Mon Nov 25 20:36:27 2013 -0800 |
tree | 7210ab2c036aa2ee278f1d9a59743b452d0898c7 | |
parent | 16f4e8fa737b58b7b0461b33581e43ac06991110 [diff] |
curses: fixup SIGWINCH handler mess Don't run code in the signal handler, only set a flag. Use sigaction(2) to avoid non-portable signal(2) semantics. Make #ifdefs less messy. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Laszlo Ersek <lersek@redhat.com> Message-id: 1385130903-20531-1-git-send-email-kraxel@redhat.com Signed-off-by: Anthony Liguori <aliguori@amazon.com>