HomeFreeBSD

ping: Don't mix stdio and direct writes

Description

ping: Don't mix stdio and direct writes

POSIX does not allow mixing direct writes to STDOUT_FILENO with stdio
operations on stdout like we do here. More importantly, it causes
tests to fail randomly (or not-so-randomly after I added an fflush in
a previous commit).

MFC after: 1 week
Reviewed by: markj
Differential Revision: https://reviews.freebsd.org/D57884

Details

Provenance
desAuthored on Jun 26 2026, 2:46 PM
Reviewer
markj
Differential Revision
D57884: ping: Don't mix stdio and direct writes
Parents
rGf0a861efbafe: local-unbound-setup: Support IPv6-only systems
Branches
Unknown
Tags
Unknown