OSDN Git Service

Isaac Dunham suggested xprintf() should call fflush() instead of ferror(), and posix...
authorRob Landley <rob@landley.net>
Mon, 26 May 2014 17:25:47 +0000 (12:25 -0500)
committerRob Landley <rob@landley.net>
Mon, 26 May 2014 17:25:47 +0000 (12:25 -0500)
commitddbaa718dbe3370786eae97000f4c1e8bb259a61
tree3ee130c5573a55bf386a6e0fe17e171c16f80c78
parent7cb7cca7f5759c6921d68a384fd838e01ce446e0
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.
lib/xwrap.c