[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v2] curses: fixup SIGWINCH handler mess
From: |
Laszlo Ersek |
Subject: |
Re: [Qemu-devel] [PATCH v2] curses: fixup SIGWINCH handler mess |
Date: |
Wed, 13 Nov 2013 15:15:39 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20131028 Thunderbird/17.0.10 |
On 11/13/13 10:23, Gerd Hoffmann wrote:
> 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 <address@hidden>
> ---
> ui/curses.c | 44 ++++++++++++++++++++++++++++----------------
> 1 file changed, 28 insertions(+), 16 deletions(-)
Compared it with v1.
Reviewed-by: Laszlo Ersek <address@hidden>