Revert "loader: support.4th resets the read buffer incorrectly"

This reverts commit 9c1c02093b. It seems
to have broken all old nextboot.conf files causing hangs on boot.

Sponsored by:		Netflix
This commit is contained in:
Warner Losh 2021-07-26 16:40:41 -06:00
parent 3e87f800f0
commit 4783fb730f

View File

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