[Qemu-devel] [PATCH v2] curses: fixup SIGWINCH handler mess

2013-11-20 Thread Gerd Hoffmann
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 --- ui/curses.c | 44 1 file changed, 28 insertions(+), 16 deletions(-) diff --gi

Re: [Qemu-devel] [PATCH v2] curses: fixup SIGWINCH handler mess

2013-11-13 Thread Laszlo Ersek
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 > --- > ui/curses.c | 44 > 1 fi

[Qemu-devel] [PATCH v2] curses: fixup SIGWINCH handler mess

2013-11-13 Thread Gerd Hoffmann
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 --- ui/curses.c | 44 1 file changed, 28 insertions(+), 16 deletions(-) diff --gi