]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
Ignore the signal SIGWINCH in the grub shell.
authorokuji <okuji@localhost>
Sun, 9 Dec 2001 20:55:56 +0000 (20:55 +0000)
committerokuji <okuji@localhost>
Sun, 9 Dec 2001 20:55:56 +0000 (20:55 +0000)
ChangeLog
docs/grub.8
grub/asmstub.c

index 5ddd08f2bf707b3a53b6dbbf8e1d93c3d5815e0e..0160dced1fe670a56864f03b74d7a985e4e63166 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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:
index cd5fb7cd39f4c07ccb78ee568cbe94b9e830abfe..f95a82495cd7659c1a472e15dd5d68fccb3daf2d 100644 (file)
@@ -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
index 2978c1423a99d4852ad9f218ff142ab1ae87e1d1..3d8266f806547e75a74b4005c1e9b74f57a12e7a 100644 (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