]> git.ipfire.org Git - thirdparty/coreutils.git/commit
all: avoid duplicated write errors on FreeBSD
authorPádraig Brady <P@draigBrady.com>
Sun, 27 Aug 2023 15:01:27 +0000 (16:01 +0100)
committerPádraig Brady <P@draigBrady.com>
Sun, 27 Aug 2023 16:32:07 +0000 (17:32 +0100)
commit5e44ad4e6d9e792a53655383f07565e252656e43
tree5ba2ec090822d8885a1d4ab8f61fdebfd6f956d3
parent13e13107e13ae064c925ecfc516c3b7bcc680aa6
all: avoid duplicated write errors on FreeBSD

* src/system.h (write_error): Also call fpurge(), which was seen to
be needed on FreeBSD 13.1 to avoid duplicated write errors.
* src/head.c (xwrite_stdout): Likewise.
* bootstrap.conf: Depend on fpurge.
Reported by Bruno Haible.
bootstrap.conf
src/head.c
src/system.h