From b4e85477b84918c0fb9da281cebe4eff2a50f002 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 8 Nov 2015 05:30:25 +0100 Subject: Merging upstream version 1.2~pre3. Signed-off-by: Daniel Baumann --- zcmp.cc | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) (limited to 'zcmp.cc') diff --git a/zcmp.cc b/zcmp.cc index 3522329..761e48e 100644 --- a/zcmp.cc +++ b/zcmp.cc @@ -36,12 +36,8 @@ #endif #include "arg_parser.h" -#include "zutils.h" #include "rc.h" - -#if CHAR_BIT != 8 -#error "Environments where CHAR_BIT != 8 are not supported." -#endif +#include "zutils.h" #ifndef LLONG_MAX #define LLONG_MAX 0x7FFFFFFFFFFFFFFFLL @@ -52,7 +48,6 @@ namespace { #include "zcmpdiff.cc" - void show_help() { std::printf( "Zcmp compares two files (\"-\" means standard input), and if they\n" @@ -301,7 +296,7 @@ int cmp( const long long max_size, const int infd[2], { if( verbosity >= 0 ) std::fprintf( stderr, "%s: EOF on %s\n", - util_name, filenames[rd[1]