]> git.ipfire.org Git - thirdparty/grub.git/commit
Pause the execution (10s max) if any errors are displayed so the user
authorVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Mon, 20 Sep 2010 15:46:35 +0000 (17:46 +0200)
committerVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Mon, 20 Sep 2010 15:46:35 +0000 (17:46 +0200)
commit38c259a76a6c40f5d2983c8e542edd79ea08e4d8
tree36d7c3b9896fc4e903475c4ad5752dc6c1ee1816
parentf218b09c996f16d1bd67127fec75850601aa38c2
Pause the execution (10s max) if any errors are displayed so the user
has a chance to see them.

* grub-core/kern/err.c (grub_err_printed_errors): New variable.
(grub_print_error): Increment grub_err_printed_errors.
* grub-core/normal/menu.c (grub_menu_execute_entry): Pause the
execution if any errors were displayed.
(show_menu): Remove old code for pause.
* grub-core/normal/menu_entry.c (run): Likewise.
* grub-core/normal/term.c (grub_normal_char_counter): Removed. All
users updated.
(grub_normal_get_char_counter): Likewise.
* include/grub/err.h (grub_err_printed_errors): New external variable.
* include/grub/normal.h (grub_normal_get_char_counter): Removed.
ChangeLog
grub-core/kern/err.c
grub-core/normal/menu.c
grub-core/normal/menu_entry.c
grub-core/normal/term.c
include/grub/err.h
include/grub/normal.h