Jay Edgar 15b7a4ab88 Fixed output size and removed unneeded loop
Summary: In Zlib_Compress and BZip2_Compress the calculation for size was slightly off when using compression_foramt_version 2 (which includes the decompressed size in the output).  Also there were unnecessary loops around the deflate/BZ2_bzCompress calls.  In Zlib_Compress there was also a possible exit from the function after calling deflateInit2 that didn't call deflateEnd.

Test Plan: Standard tests

Reviewers: sdong, IslamAbdelRahman, igor

Reviewed By: igor

Subscribers: sdong, IslamAbdelRahman, andrewkr, dhruba

Differential Revision: https://reviews.facebook.net/D60537
2016-07-13 09:10:06 -07:00
..
2016-05-06 17:42:50 -07:00
2016-05-23 16:38:25 -07:00
2016-06-01 18:07:59 -07:00
2016-03-17 10:07:21 -07:00
2016-03-17 10:07:21 -07:00
2016-03-11 22:56:25 -08:00
2016-03-15 11:38:15 -07:00
2016-05-23 12:27:27 -07:00
2016-05-23 12:27:27 -07:00
2016-06-17 10:30:47 -07:00
2016-06-17 10:30:47 -07:00
2016-06-17 10:30:47 -07:00
2016-07-08 17:50:51 -07:00
2016-06-17 10:30:47 -07:00
2016-02-17 20:22:40 +08:00
2016-06-10 16:37:36 -07:00
2016-04-01 11:06:06 -07:00
2016-06-17 10:30:47 -07:00
2016-05-22 22:00:15 -07:00
2016-07-08 17:50:51 -07:00