From 690499b2c0786ad55dfe8f27bc84fc517ed70b97 Mon Sep 17 00:00:00 2001 From: "Markus F.X.J. Oberhumer" Date: Wed, 22 Nov 2000 18:35:08 +0000 Subject: [PATCH] Removed a wrong assertion. committer: mfx 974918108 +0000 --- src/packer.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/packer.cpp b/src/packer.cpp index eee19c5c..02934486 100644 --- a/src/packer.cpp +++ b/src/packer.cpp @@ -253,7 +253,9 @@ bool Packer::checkCompressionRatio(unsigned u_len, unsigned c_len) const { assert((int)u_len > 0); assert((int)c_len > 0); - assert((off_t)u_len < file_size); + + // this assertion may fail if we compress the BSS segment -- disabled + //assert((off_t)u_len < file_size); #if 1 if (c_len >= u_len - u_len / 8) // min. 12.5% gain