summaryrefslogtreecommitdiffstats
path: root/util.h
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2022-02-11 12:14:31 -0500
committerTavian Barnes <tavianator@tavianator.com>2022-02-11 12:14:31 -0500
commit6ef15e033f997a41c783f87a7084e0aee05c42f9 (patch)
treee9f164d5b86902ac2e1805262795651fdcf20d21 /util.h
parent72c985ce2e4f36c0b83481ee79bcda48f4fd840a (diff)
downloadbfs-6ef15e033f997a41c783f87a7084e0aee05c42f9.tar.xz
ctx: Also check ferror(stdout)
Previously this was checked for all other files, but for stdout we just checked the return value of fflush(). Checking ferror() makes sure we don't miss any errors that occurred on a previous flush.
Diffstat (limited to 'util.h')
0 files changed, 0 insertions, 0 deletions