git: libstand(3): Fix off-by-one bug and handle getchar() EOF in ngets()

Aaron LI aly at crater.dragonflybsd.org
Thu Sep 17 06:25:12 PDT 2026


commit 6e68105a2e6c5c9093be135d00eb714f0ea045e7
Author: Aaron LI <aly at aaronly.me>
Date:   Mon Sep 14 21:57:24 2026 +0800

    libstand(3): Fix off-by-one bug and handle getchar() EOF in ngets()
    
    Obtained-from: FreeBSD

Summary of changes:
 stand/lib/gets.c | 22 +++++++++++-----------
 1 file changed, 11 insertions(+), 11 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/6e68105a2e6c5c9093be135d00eb714f0ea045e7


-- 
DragonFly BSD source repository


More information about the Commits mailing list