aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/tools/singlejar/combiners.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/singlejar/combiners.cc')
-rw-r--r--src/tools/singlejar/combiners.cc7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/tools/singlejar/combiners.cc b/src/tools/singlejar/combiners.cc
index 1da86e626a..26fcc58004 100644
--- a/src/tools/singlejar/combiners.cc
+++ b/src/tools/singlejar/combiners.cc
@@ -13,6 +13,9 @@
// limitations under the License.
#include "src/tools/singlejar/combiners.h"
+
+#include <cctype>
+
#include "src/tools/singlejar/diag.h"
Combiner::~Combiner() {}
@@ -33,7 +36,7 @@ bool Concatenator::Merge(const CDH *cdh, const LH *lh) {
}
buffer_->DecompressEntryContents(cdh, lh, inflater_.get());
} else {
- errx(2, "%s is neither stored nor deflated", filename_.c_str());
+ diag_errx(2, "%s is neither stored nor deflated", filename_.c_str());
}
return true;
}
@@ -138,7 +141,7 @@ bool XmlCombiner::Merge(const CDH *cdh, const LH *lh) {
}
bytes_.DecompressEntryContents(cdh, lh, inflater_.get());
} else {
- errx(2, "%s is neither stored nor deflated", filename_.c_str());
+ diag_errx(2, "%s is neither stored nor deflated", filename_.c_str());
}
uint32_t checksum;
char *buf = reinterpret_cast<char *>(malloc(bytes_.data_size()));