summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorshadchin <shadchin@openbsd.org>2014-04-26 05:58:43 +0000
committershadchin <shadchin@openbsd.org>2014-04-26 05:58:43 +0000
commite71c7b9e95536b71adae15585bd2e3804716427e (patch)
tree61962c82b6a9871f503ed9906a8bcbe2c28837ea
parentPerform MAXPHYS-sized reads for the chunktable instead of PAGE_SIZE-sized (diff)
downloadwireguard-openbsd-e71c7b9e95536b71adae15585bd2e3804716427e.tar.xz
wireguard-openbsd-e71c7b9e95536b71adae15585bd2e3804716427e.zip
Revert 1.11. That patch is not only not necessary, it is quite harmful now.
ok schwarze@
-rw-r--r--usr.bin/less/command.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/usr.bin/less/command.c b/usr.bin/less/command.c
index f53d7b63c2d..7ade9600123 100644
--- a/usr.bin/less/command.c
+++ b/usr.bin/less/command.c
@@ -56,7 +56,6 @@ extern int oldbot;
extern int forw_prompt;
extern int be_helpful;
extern int less_is_more;
-extern int quit_at_eof;
#if SHELL_ESCAPE
static char *shellcmd = NULL; /* For holding last shell command for "!!" */
@@ -1259,8 +1258,6 @@ commands()
* Forward forever, ignoring EOF.
*/
newaction = forw_loop(0);
- if (less_is_more)
- quit_at_eof = OPT_ON;
break;
case A_F_UNTIL_HILITE: