From 4232395f9fb5e02e01cc62258d6d4badf0328ddb Mon Sep 17 00:00:00 2001 From: okuji Date: Sun, 9 Dec 2001 20:55:56 +0000 Subject: [PATCH] Ignore the signal SIGWINCH in the grub shell. --- ChangeLog | 7 +++++++ docs/grub.8 | 2 +- grub/asmstub.c | 2 ++ 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 5ddd08f2b..0160dced1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2001-12-10 Yoshinori K. Okuji + + * grub/asmstub.c: Include . + (grub_stage2) [HAVE_LIBCURSES]: If USE_CURSES is true, ignore + the signal SIGWINCH. Reported by Christian Hudon + . + 2001-11-29 Yoshinori K. Okuji From Jason Thomas: diff --git a/docs/grub.8 b/docs/grub.8 index cd5fb7cd3..f95a82495 100644 --- a/docs/grub.8 +++ b/docs/grub.8 @@ -1,5 +1,5 @@ .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.23. -.TH GRUB "8" "November 2001" "grub (GNU GRUB 0.90)" FSF +.TH GRUB "8" "December 2001" "grub (GNU GRUB 0.90)" FSF .SH NAME grub \- the grub shell .SH SYNOPSIS diff --git a/grub/asmstub.c b/grub/asmstub.c index 2978c1423..3d8266f80 100644 --- a/grub/asmstub.c +++ b/grub/asmstub.c @@ -41,6 +41,7 @@ int grub_stage2 (void); #include #include #include +#include #ifdef __linux__ # include /* ioctl */ @@ -168,6 +169,7 @@ grub_stage2 (void) scrollok (stdscr, TRUE); keypad (stdscr, TRUE); wtimeout (stdscr, 100); + signal (SIGWINCH, SIG_IGN); } #endif