[PATCH] Specify SA_RESTART when registering the SIGWINCH signal handler

Patrick Palka patrick@parcs.ath.cx
Sun Nov 16 03:51:00 GMT 2014


On Thu, Sep 4, 2014 at 6:45 AM, Pedro Alves <palves@redhat.com> wrote:
> On 08/30/2014 08:40 PM, Patrick Palka wrote:
>> SA_RESTART allows system calls to be restarted across a signal handler.
>> By specifying this flag we fix the issue where if the user is being
>> prompted to answer yes or no, and the terminal gets resized in the
>> meantime, the prompt will think that the user sent an EOF and so it will
>> take the default action for that prompt (in the case of the quit prompt,
>> it will quit GDB).
>>
>>       * tui/tui-win.c (tui_initialize_win): Specify SA_RESTART when
>>       registering the signal handler.
>
> OK.
>
> Thanks,
> Pedro Alves

Hi,

Could someone commit this patch (attached) for me?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Specify-SA_RESTART-when-registering-the-SIGWINCH-sig.patch
Type: text/x-patch
Size: 1227 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20141116/16540ba8/attachment.bin>


More information about the Gdb-patches mailing list