git: DragonFly_RELEASE_5_6 libutil: Bring in a fparseln() bugfix from NetBSD.
Sascha Wildner
swildner at crater.dragonflybsd.org
Mon Dec 2 13:15:16 PST 2019
commit 90e22655a709cb742b0835722b25476a402e1d4a
Author: Sascha Wildner <saw at online.de>
Date: Mon Dec 2 22:13:50 2019 +0100
libutil: Bring in a fparseln() bugfix from NetBSD.
Prevents fparseln() from reporting spurious empty lines when it shouldn't:
http://cvsweb.netbsd.org/bsdweb.cgi/src/lib/libc/stdio/fparseln.c.diff?r1=1.5&r2=1.6
While here, optimize to prevent pointless realloc()s:
http://cvsweb.netbsd.org/bsdweb.cgi/src/lib/libc/stdio/fparseln.c.diff?r1=1.6&r2=1.7
Reported-by: zrj
Summary of changes:
lib/libutil/fparseln.c | 23 +++++++++++------------
1 file changed, 11 insertions(+), 12 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/90e22655a709cb742b0835722b25476a402e1d4a
--
DragonFly BSD source repository
More information about the Commits
mailing list