Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Jul 2021 02:45:07 GMT
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: ac56cd3ba627 - stable/12 - Revert "loader: support.4th resets the read buffer incorrectly"
Message-ID:  <202107270245.16R2j7Up046880@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/12 has been updated by imp:

URL: https://cgit.FreeBSD.org/src/commit/?id=ac56cd3ba627b403da2c52ae6cecb5b4143be6c7

commit ac56cd3ba627b403da2c52ae6cecb5b4143be6c7
Author:     Warner Losh <imp@FreeBSD.org>
AuthorDate: 2021-07-26 22:40:41 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
CommitDate: 2021-07-27 02:38:58 +0000

    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)
---
 stand/forth/support.4th | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202107270245.16R2j7Up046880>