Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Better detection of I/O errors (#1566)
It is possible for fprintf to have flushed the stream already, in which case fflush will succeed. Use ferror() to catch that. Fixes 95a8333.
- Loading branch information