mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-25 16:49:23 +00:00
Ignore the signal SIGWINCH in the grub shell.
This commit is contained in:
1 parent
502a79c799
commit
4232395f9f
3 files changed
+10
-1
No files matched your search
@@ -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>
|
2001-11-29 Yoshinori K. Okuji <okuji@gnu.org>
|
||||||
|
|
||||||
From Jason Thomas:
|
From Jason Thomas:
|
||||||
|
|||||||
+1
-1
@@ -1,5 +1,5 @@
|
|||||||
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.23.
|
.\" 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
|
.SH NAME
|
||||||
grub \- the grub shell
|
grub \- the grub shell
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
|||||||
@@ -41,6 +41,7 @@ int grub_stage2 (void);
|
|||||||
#include <setjmp.h>
|
#include <setjmp.h>
|
||||||
#include <sys/time.h>
|
#include <sys/time.h>
|
||||||
#include <termios.h>
|
#include <termios.h>
|
||||||
|
#include <signal.h>
|
||||||
|
|
||||||
#ifdef __linux__
|
#ifdef __linux__
|
||||||
# include <sys/ioctl.h> /* ioctl */
|
# include <sys/ioctl.h> /* ioctl */
|
||||||
@@ -168,6 +169,7 @@ grub_stage2 (void)
|
|||||||
scrollok (stdscr, TRUE);
|
scrollok (stdscr, TRUE);
|
||||||
keypad (stdscr, TRUE);
|
keypad (stdscr, TRUE);
|
||||||
wtimeout (stdscr, 100);
|
wtimeout (stdscr, 100);
|
||||||
|
signal (SIGWINCH, SIG_IGN);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user