git: libutil: Bring in a fparseln() bugfix from NetBSD.
Sascha Wildner
swildner at crater.dragonflybsd.org
Mon Dec 2 13:15:13 PST 2019
commit 46cdd47bbae7c74a815b24ba8953cb39bb2194f3
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/46cdd47bbae7c74a815b24ba8953cb39bb2194f3
--
DragonFly BSD source repository
More information about the Commits
mailing list