Ignore the signal SIGWINCH in the grub shell.

This commit is contained in:
okuji committed 2001-12-09 20:55:56 +00:00
1 parent 502a79c799
commit 4232395f9f
3 files changed
+10 -1

No files matched your search

+2
View File
@@ -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