aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2021-07-26 22:40:41 +0000
committerWarner Losh <imp@FreeBSD.org>2021-07-27 02:38:58 +0000
commitac56cd3ba627b403da2c52ae6cecb5b4143be6c7 (patch)
tree4252bea5fa48e547f275b8dd45b884c0d4819715
parent0f97f2a1857a96563792f0d873b11a16ff9f818c (diff)
downloadsrc-ac56cd3ba627b403da2c52ae6cecb5b4143be6c7.tar.gz
src-ac56cd3ba627b403da2c52ae6cecb5b4143be6c7.zip
Revert "loader: support.4th resets the read buffer incorrectly"
This reverts commit 9c1c02093b90ae49745a174eb26ea85dd1990eec. It seems to have broken all old nextboot.conf files causing hangs on boot. PR: 239315 Sponsored by: Netflix (cherry picked from commit 4783fb730fa1cfdbe5c905bb23ac74f681e2df6b)
-rw-r--r--stand/forth/support.4th2
1 files changed, 1 insertions, 1 deletions
diff --git a/stand/forth/support.4th b/stand/forth/support.4th
index ed5e6a6da9ee..64c71e12ec26 100644
--- a/stand/forth/support.4th
+++ b/stand/forth/support.4th
@@ -410,7 +410,7 @@ variable fd
get-current ( -- wid ) previous definitions >search ( wid -- )
: reset_line_reading
- 0 read_buffer .len !
+ 0 to read_buffer_ptr
;
: read_line