]> git.proxmox.com Git - qemu.git/commit
curses: fixup SIGWINCH handler mess
authorGerd Hoffmann <kraxel@redhat.com>
Fri, 22 Nov 2013 14:35:03 +0000 (15:35 +0100)
committerAnthony Liguori <aliguori@amazon.com>
Tue, 26 Nov 2013 04:36:27 +0000 (20:36 -0800)
commit032ac6f8bfb68746cb0eea407b1cd2b22a78898f
tree7210ab2c036aa2ee278f1d9a59743b452d0898c7
parent16f4e8fa737b58b7b0461b33581e43ac06991110
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>
ui/curses.c