Ignore the signal SIGWINCH in the grub shell.
This commit is contained in:
parent
502a79c799
commit
4232395f9f
3 changed files with 10 additions and 1 deletions
|
@ -1,3 +1,10 @@
|
|||
2001-12-10 Yoshinori K. Okuji <okuji@gnu.org>
|
||||
|
||||
* grub/asmstub.c: Include <signal.h>.
|
||||
(grub_stage2) [HAVE_LIBCURSES]: If USE_CURSES is true, ignore
|
||||
the signal SIGWINCH. Reported by Christian Hudon
|
||||
<chrish@debian.org>.
|
||||
|
||||
2001-11-29 Yoshinori K. Okuji <okuji@gnu.org>
|
||||
|
||||
From Jason Thomas:
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -41,6 +41,7 @@ int grub_stage2 (void);
|
|||
#include <setjmp.h>
|
||||
#include <sys/time.h>
|
||||
#include <termios.h>
|
||||
#include <signal.h>
|
||||
|
||||
#ifdef __linux__
|
||||
# include <sys/ioctl.h> /* ioctl */
|
||||
|
@ -168,6 +169,7 @@ grub_stage2 (void)
|
|||
scrollok (stdscr, TRUE);
|
||||
keypad (stdscr, TRUE);
|
||||
wtimeout (stdscr, 100);
|
||||
signal (SIGWINCH, SIG_IGN);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue