mirror of
https://github.com/freebsd/freebsd-src
synced 2024-11-05 18:22:52 +00:00
Make the examine command honor db_pager_quit so you can use 'q' or 'x'
at the pager prompt to abort an examine command that spans multiple pages. MFC after: 1 week
This commit is contained in:
parent
68b11e74f4
commit
6b76a4c77a
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=173077
1 changed files with 1 additions and 1 deletions
|
@ -80,7 +80,7 @@ db_examine(addr, fmt, count)
|
|||
int width;
|
||||
char * fp;
|
||||
|
||||
while (--count >= 0) {
|
||||
while (--count >= 0 && !db_pager_quit) {
|
||||
fp = fmt;
|
||||
size = 4;
|
||||
while ((c = *fp++) != 0) {
|
||||
|
|
Loading…
Reference in a new issue