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:
John Baldwin 2007-10-27 20:19:11 +00:00
parent 68b11e74f4
commit 6b76a4c77a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=173077

View File

@ -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) {