]> git.ipfire.org Git - thirdparty/util-linux.git/commit
wall: convert homebrew buffering to open_memstream()
authorнаб <nabijaczleweli@nabijaczleweli.xyz>
Wed, 15 Mar 2023 15:16:43 +0000 (16:16 +0100)
committerKarel Zak <kzak@redhat.com>
Fri, 17 Mar 2023 10:48:41 +0000 (11:48 +0100)
commit27ee6446503af7ec0c2647704ca47ac4de3852ef
tree3804e7f5973302699ed44b8448211047af7d7ed0
parent8a7b8456d1dc0e7ca557d1ac31f638986704757f
wall: convert homebrew buffering to open_memstream()

The struct buffer system duplicates a plethora of standard I/O
functions (including a fork of fputc_careful())
and adds a lot of complexity ‒ open_memstream() is standard,
and fits perfectly into this niche
term-utils/wall.c