diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2022-02-11 12:14:31 -0500 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2022-02-11 12:14:31 -0500 |
commit | 6ef15e033f997a41c783f87a7084e0aee05c42f9 (patch) | |
tree | e9f164d5b86902ac2e1805262795651fdcf20d21 /darray.c | |
parent | 72c985ce2e4f36c0b83481ee79bcda48f4fd840a (diff) | |
download | bfs-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 'darray.c')
0 files changed, 0 insertions, 0 deletions