Sean Bright
1b50df78d0
cleanup: Fix fread() and fwrite() error handling
...
Cleaned up some of the incorrect uses of fread() and fwrite(), mostly in
the format modules. Neither of these functions will ever return a value
less than 0, which we were checking for in some cases.
I've introduced a fair amount of duplication in the format modules, but
I plan to change how format modules work internally in a subsequent
patch set, so this is simply a stop-gap.
Change-Id: I8ca1cd47c20b2c0b72088bd13b9046f6977aa872
2017-04-25 16:24:37 -05:00
..
2017-03-16 16:50:17 -05:00
2017-04-12 16:46:22 -05:00
2017-04-12 16:46:22 -05:00
2017-04-12 16:46:22 -05:00
2015-12-21 16:03:42 -08:00
2017-04-12 16:46:22 -05:00
2014-07-25 10:54:49 +00:00
2017-04-12 16:46:22 -05:00
2014-07-25 16:47:17 +00:00
2015-11-06 16:46:21 -05:00
2013-05-21 18:00:22 +00:00
2017-03-15 17:43:54 -05:00
2017-04-12 16:46:22 -05:00
2013-01-22 15:16:20 +00:00
2017-04-12 16:46:22 -05:00
2013-02-14 03:49:52 +00:00
2017-02-10 11:58:59 -06:00
2015-07-15 10:34:21 -05:00
2013-11-22 16:43:21 +00:00
2017-02-21 13:45:03 -05:00
2013-12-19 00:50:01 +00:00
2015-11-09 17:02:52 +01:00
2016-11-14 17:02:09 -05:00
2011-07-14 20:28:54 +00:00
2015-03-17 21:49:30 +00:00
2016-10-13 18:11:37 -05:00
2014-07-25 16:47:17 +00:00
2012-03-01 22:09:18 +00:00
2016-09-07 06:43:28 -05:00
2017-04-12 16:46:22 -05:00
2014-12-17 09:54:00 +00:00
2014-07-25 16:47:17 +00:00
2014-07-25 16:47:17 +00:00
2014-07-25 16:47:17 +00:00
2014-07-25 16:47:17 +00:00
2016-08-29 10:08:13 -05:00
2016-02-01 18:20:05 -07:00
2014-07-20 22:06:33 +00:00
2017-04-25 16:24:37 -05:00
2017-03-15 17:43:54 -05:00
2014-07-25 16:47:17 +00:00
2016-09-01 13:13:43 +02:00
2014-07-25 16:47:17 +00:00
2017-02-10 18:01:54 -05:00
2014-12-17 09:54:00 +00:00
2015-11-06 16:46:21 -05:00
2015-05-20 18:05:20 -06:00
2012-02-20 23:43:27 +00:00
2012-02-29 16:52:47 +00:00
2017-04-12 16:46:22 -05:00
2012-02-20 23:43:27 +00:00
2012-02-29 16:52:47 +00:00
2017-02-14 09:12:31 -05:00
2014-07-25 16:47:17 +00:00
2013-11-14 20:32:45 +00:00
2012-09-28 18:27:02 +00:00
2012-02-20 23:43:27 +00:00
2014-07-25 16:47:17 +00:00
2016-03-24 13:14:33 -03:00
2014-12-17 09:54:00 +00:00
2012-02-20 23:43:27 +00:00
2014-07-28 18:58:43 +00:00
2014-09-05 22:03:45 +00:00
2016-03-16 11:17:54 -05:00
2012-06-15 16:20:16 +00:00
2016-04-19 15:02:18 -03:00
2014-07-25 16:47:17 +00:00
2014-01-17 17:16:14 +00:00
2014-07-25 16:47:17 +00:00
2016-08-13 20:26:50 -05:00
2014-05-09 22:49:26 +00:00
2017-04-25 16:24:37 -05:00
2012-06-15 15:33:41 +00:00
2014-07-25 16:47:17 +00:00
2014-07-25 16:47:17 +00:00
2011-07-14 20:28:54 +00:00
2012-07-31 20:21:43 +00:00
2017-04-12 16:46:22 -05:00
2005-11-29 18:24:39 +00:00
2005-11-29 18:24:39 +00:00
2017-03-27 10:36:23 -04:00