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:37:40 +0000
commit320e5d7d398c9b66e73560e7789e39709d31ce7d (patch)
tree192277752b25c369febec670fdbfbc336d3c5943
parent82b475c654abfaa9c28bb1e2e73dfbd15d3f45f4 (diff)
downloadsrc-320e5d7d398c9b66e73560e7789e39709d31ce7d.tar.gz
src-320e5d7d398c9b66e73560e7789e39709d31ce7d.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 (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 ec04b7e9e322..d87cf16a16dd 100644
--- a/stand/forth/support.4th
+++ b/stand/forth/support.4th
@@ -485,7 +485,7 @@ variable fd
get-current ( -- wid ) previous definitions >search ( wid -- )
: reset_line_reading
- 0 read_buffer .len !
+ 0 to read_buffer_ptr
;
: read_line