commit | ddbaa718dbe3370786eae97000f4c1e8bb259a61 | [log] [tgz] |
---|---|---|
author | Rob Landley <rob@landley.net> | Mon May 26 12:25:47 2014 -0500 |
committer | Rob Landley <rob@landley.net> | Mon May 26 12:25:47 2014 -0500 |
tree | 3ee130c5573a55bf386a6e0fe17e171c16f80c78 | |
parent | 7cb7cca7f5759c6921d68a384fd838e01ce446e0 [diff] |
Isaac Dunham suggested xprintf() should call fflush() instead of ferror(), and posix-2008 doesn't say if fflush() covers ferror() (or can return success when the stream's error state is set), so call both.